Open amolkhanna opened 4 years ago
Hi, same error occurs. Have you ever solve this one?
When using SMOP to translate a .m file, I repeatedly run into the following error:
Traceback: Line 61, in main.py: stmt_list = parse.parse(buf if buf[-1] == '\n' else buf + '\n') Line 849, in parse.py: p = parser.parse( Line 331, in parse.py: return self.parseopt(input, lexer, debug, tracking, tokenfunc) Line 823, in parseopt.py: p.callable(pslice) Line 696, in p_return_stmt: p[0] = node.return_stmt(ret=ret_expr) NameError: name 'ret_expr' is not defined.
Could someone please tell me why this error occurs, and if there is a way to fix it? Thanks. Hi, same error occurs. Have you ever solve this one?
= =same error。。
Same problem
Same problems, has this been resolved yet?
When using SMOP to translate a .m file, I repeatedly run into the following error:
Traceback: Line 61, in main.py: stmt_list = parse.parse(buf if buf[-1] == '\n' else buf + '\n') Line 849, in parse.py: p = parser.parse( Line 331, in parse.py: return self.parseopt(input, lexer, debug, tracking, tokenfunc) Line 823, in parseopt.py: p.callable(pslice) Line 696, in p_return_stmt: p[0] = node.return_stmt(ret=ret_expr) NameError: name 'ret_expr' is not defined.
Could someone please tell me why this error occurs, and if there is a way to fix it? Thanks.