A better way to handle and display the error in a python file.
Former version crashed in case of syntax error (cf test_syntax_error.py)
Showing
- src/interpreter.cc 62 additions, 48 deletionssrc/interpreter.cc
- unitTesting/CMakeLists.txt 4 additions, 2 deletionsunitTesting/CMakeLists.txt
- unitTesting/interpreter-test-runfile.cc 33 additions, 31 deletionsunitTesting/interpreter-test-runfile.cc
- unitTesting/test_python-name_error.py 0 additions, 0 deletionsunitTesting/test_python-name_error.py
- unitTesting/test_python-ok.py 0 additions, 0 deletionsunitTesting/test_python-ok.py
- unitTesting/test_python-syntax_error.py 1 addition, 0 deletionsunitTesting/test_python-syntax_error.py
Loading
Please register or sign in to comment