You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/pete/.local/lib/python3.5/site-packages/smop/main.py", line 65, in main
stmt_list = parse.parse(buf if buf[-1] == '\n' else buf + '\n')
File "/home/pete/.local/lib/python3.5/site-packages/smop/parse.py", line 850, in parse
buf, tracking=1, debug=options.debug_parser, lexer=new_lexer)
File "/home/pete/.local/lib/python3.5/site-packages/ply/yacc.py", line 331, in parse
return self.parseopt(input, lexer, debug, tracking, tokenfunc)
File "/home/pete/.local/lib/python3.5/site-packages/ply/yacc.py", line 909, in parseopt
tok = call_errorfunc(self.errorfunc, errtoken, self)
File "/home/pete/.local/lib/python3.5/site-packages/ply/yacc.py", line 192, in call_errorfunc
r = errorfunc(token)
File "/home/pete/.local/lib/python3.5/site-packages/smop/parse.py", line 838, in p_error
new_lexer)
File "/home/pete/.local/lib/python3.5/site-packages/smop/lexer.py", line 338, in raise_exception
my_lexer.lexdata[startpos:endpos]))
File "fcn.m", line 2
B = A>=(A)
^
SyntaxError: Unexpected "=" (parser)
Note: crash is flaky. Sometimes compilation passes and generates:
smop fcn.m
Note: crash is flaky. Sometimes compilation passes and generates:
Workaround: try compilation multiple times. Looks like it works 1 in 10 times 100% of the times :)
The text was updated successfully, but these errors were encountered: