[verible-verilog-format] lexer-parser error on long lines: code after parens / braces is missing in code dumped after the error message #2319
Labels
rejects-valid syntax
If the parser wrongly rejects syntactically valid code (according to SV-2017).
Describe the bug
If you follow the repro instructions below, you'll hit this error message. If you compare it against the original source, you'll find that the function arguments to fn3 have gone missing in the code dumped after the error message. I presume that might be triggering the failure on the ; on the next statement. Changing various parts of the repro code (e.g. changing the long function name with a shorter one) makes the failure disappear.
To Reproduce
Include any options used.
--inplace
Actual behavior:
It rejected valid code.
Expected behavior
This code should not result in a "Error lex/parsing-ing formatted output. Please file a bug." error.
The text was updated successfully, but these errors were encountered: