bison-patches
[Top][All Lists]
Advanced

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

FYI: variables: accept dashes


From: Akim Demaille
Subject: FYI: variables: accept dashes
Date: Mon, 20 Apr 2009 23:23:03 +0200

Pushed in master and branch-2.5.


        * data/bison.m4 (b4_percent_define_if_define_): Also map dashes to
        underscores.
        * src/scan-gram.l ({id}): Also accept dashes after the initial
        letter.
        ({directive}): Use {id}.
        * src/parse-gram.y: Comment and formatting changes.
        * doc/bison.texinfo (Symbols): Adjust the lexical definitions of
        symbols.
        * src/complain.h, src/complain.c (yacc_at): New.
        * src/symtab.c (symbol_new): Use yacc_at to report inappropriate
        symbol names.
        * src/output.c (token_definitions_output): Do not #define token
        names with dashes.

Attachment: 0001-variables-accept-dashes.txt
Description: Text document



reply via email to

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