bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison scanner patch to fix POSIX incompatibilities, etc.


From: Akim Demaille
Subject: Re: Bison scanner patch to fix POSIX incompatibilities, etc.
Date: 06 Nov 2002 10:09:26 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

src/bison/src % fgrep unexpected scan-gram.l                      nostromo 10:08
    complain_at (*yylloc, _("unexpected end of file in a comment"));
    complain_at (*yylloc, _("unexpected end of file in a comment"));
    complain_at (*yylloc, _("unexpected end of file in a string"));
    complain_at (*yylloc, _("unexpected end of file in a character literal"));
    complain_at (*yylloc, _("unexpected end of file in a character literal"));
    complain_at (*yylloc, _("unexpected end of file in a string"));
    complain_at (*yylloc, _("unexpected end of file in `{ ... }'"));
    complain_at (*yylloc, _("unexpected end of file in `%%{ ... %%}'"));


How about

        complain_at (*yylloc, _("unexpected end of file in `%s'"));

and "/*...*/", "\"...\"", "'.'", etc. ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]