[Bug modula2/114443] missing quote causes ICE
gaius at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 23 15:30:00 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114443
--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 57788
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57788&action=edit
Proposed fix
This patch inserts a missing quotation at the end of a line
if required (after an appropiate error message is generated).
gcc/m2/ChangeLog:
* m2.flex: Call AddTokCharStar with a stringtok if
end of line is reached without a closing quote.
gcc/testsuite/ChangeLog:
* gm2/pim/fail/missingquote.mod: New test.
More information about the Gcc-bugs
mailing list