]> git.saurik.com Git - bison.git/blobdiff - src/parse-gram.y
Back out previous commit, which was unintended.
[bison.git] / src / parse-gram.y
index 4d463a9160876c80ec004e66d43980bea89befdf..18eb1ac364a4509ea953722009f339283343c1bd 100644 (file)
@@ -589,9 +589,7 @@ string_as_id:
   STRING
     {
       $$ = symbol_get (quotearg_style (c_quoting_style, $1), @1);
   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);
     }
 ;
 
     }
 ;