When reporting an error for a construct which hasn't been terminated
when the end of the file is reached, report it at the start line rather than "EOF" as then tools like editors and IDEs will take you to a generally more useful place for fixing the problem.
This commit is contained in:
parent
51487c1acc
commit
ce90ff6a77
10 changed files with 28 additions and 13 deletions
|
|
@ -1 +1 @@
|
|||
pp_unterm_string.i:EOF: Error: Unterminated string constant starting at line 4
|
||||
pp_unterm_string.i:4: Error: Unterminated string constant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue