Closed jonhammer closed 5 years ago
Traceback (most recent call last):
File "C:\auto_fat\auto_fat_check.py", line 5, in
The same issue i am facing since this morning. I need to resolve this issue as soon as possible . can you help me out with this issue.
@jonhammer i resolved this issue . I think this step will resolve your issue also
In the commentjson.py file remove start = 'start'
parser = Lark(''' ?start: value ?value: object | array | string | SIGNED_NUMBER -> number | "true" -> true | "false" -> false | "null" -> null array : "[" [value ("," value)] "]" object : "{" [pair ("," pair)] "}" pair : string ":" value string : ESCAPED_STRING
COMMENT: /(#|\/\/)[^\\n]*/
%import common.ESCAPED_STRING
%import common.SIGNED_NUMBER
%import common.WS
%ignore WS
%ignore COMMENT
''' ,start = 'start')
Confirm this. lark-parser==0.7.2 broke this. Wasn't a problem with 0.7.1
Just made a release to fix this issue. Solution suggested by @Sreevalli961 helped. Thanks for that. :)
My pleasure
On Fri, Aug 2, 2019, 3:49 PM Vaidik Kapoor notifications@github.com wrote:
Just made a release to fix this issue. Solution suggested by @Sreevalli961 https://github.com/Sreevalli961 helped. Thanks for that. :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vaidik/commentjson/issues/25?email_source=notifications&email_token=AF5JTPAE7TYHLYPDYFC6HQ3QCPDILA5CNFSM4IH76PFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3MVTMQ#issuecomment-517560754, or mute the thread https://github.com/notifications/unsubscribe-auth/AF5JTPB5XT7ALDGU7AHCAE3QCPDILANCNFSM4IH76PFA .
Tested in python 2.7.