Vojta Bremdl
Vojta Bremdl

Reputation: 1

Problem with parsering for ldf file in python program

when i run my program in python i have got that error:

Traceback (most recent call last): File "C:\Users\DeskX\AppData\Local\Programs\Python\Python39\lib\site-packages\lark\lexer.py", line 673, in lex token = self.root_lexer.next_token(lexer_state, parser_state) File "C:\Users\DeskX\AppData\Local\Programs\Python\Python39\lib\site-packages\lark\lexer.py", line 598, in next_token raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column, lark.exceptions.UnexpectedCharacters: No terminal matches ']' in the current parser context, at line 1 col 1

]/* QGate V4.0.0 16.12.18 01:30:59 MEZ* ^ Expected one of: * C_INT * DBLQUOTE * COLON * EQUAL * SEMICOLON * ESCAPED_STRING * C_FLOAT * LBRACE * LIN_VERSION * ISO_VERSION * RBRACE * COMMA * PERCENT * CNAME * J2602_VERSION

Anybody know what is wrong? Thank you very much.

I am runnig same program, only thing which change is ldf file

Upvotes: 0

Views: 98

Answers (0)

Related Questions