X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a8c2e813f2c33f37558adeb0b01b190f93f6562f..db89d400f26fe44997c601d783800849e96fb0c9:/src/parse-gram.y?ds=sidebyside diff --git a/src/parse-gram.y b/src/parse-gram.y index 4d463a91..18eb1ac3 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -589,9 +589,7 @@ string_as_id: STRING { $$ = symbol_get (quotearg_style (c_quoting_style, $1), @1); - symbol_class_set ($$, - current_class == unknown_sym - ? token_sym : current_class, @1, false); + symbol_class_set ($$, token_sym, @1, false); } ;