From: Ulya Trofimovich Date: Wed, 29 Jul 2015 11:19:40 +0000 (+0100) Subject: Commented parser conflict. X-Git-Tag: 0.15~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c9e951b1c559aeda977baa18520c04e7b7086ea;p=re2c Commented parser conflict. See https://github.com/skvadrik/re2c/issues/115 orts the commit. --- diff --git a/re2c/src/parse/parser.ypp b/re2c/src/parse/parser.ypp index 4eb6522d..7d6b8ca3 100644 --- a/re2c/src/parse/parser.ypp +++ b/re2c/src/parse/parser.ypp @@ -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)