]> granicus.if.org Git - re2c/commitdiff
Commented parser conflict.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 29 Jul 2015 11:19:40 +0000 (12:19 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 29 Jul 2015 11:19:40 +0000 (12:19 +0100)
See https://github.com/skvadrik/re2c/issues/115

orts the commit.

re2c/src/parse/parser.ypp

index 4eb6522d6b5618114f1b64f9925caf8a66330833..7d6b8ca39f66b4df98d0c00224fe8ef80e34f808 100644 (file)
@@ -196,6 +196,9 @@ decl:
                        delete $1;
                        $3->ins_access = RegExp::PRIVATE;
                }
+       // all the conflicts are caused by the following production
+       // flex-style named definitions
+       // see https://github.com/skvadrik/re2c/issues/115
        |       FID expr
                {
                        if (!symbol_table.insert (std::make_pair (* $1, $2)).second)