Description
Environment information
- OS: Windows 10 x64
- C++ compiler: MSVC 19.40.33812.0
- MQT Core: 3.0.3
- MQT Syrec: 'main' branch (Commit: #0390120)
Description
When trying to parse a SyReC program containing syntax or semantic errors the regular expression used to split the aggregate of the reported error messages is not working correctly on Windows. This is due to the fact that the parser concatinates the error messages with a platform dependent newline character (Unix: '\n', Windows: '\r\n') while the regular expression in the syrec-editor
only considers '\n' newline characters.
Expected behavior
The syrec-editor
should be able to split the aggregate of the the found error messages correctly instead of reporting the fall-back error message: 'No matching lines found in error message'.
How to Reproduce
- Perform a build from source of mqt.syrec
- Launch the syrec-editor python application and define a SyReC circuit containing erros in the code editor widget
- Select either the cost or line aware synthesis radio button and then press the 'Build' button