]> git.saurik.com Git - bison.git/blobdiff - src/state.c
b4_args is more general than only C++.
[bison.git] / src / state.c
index 8fb769aa827190aeb9d5a4af5645537e1f7ee963..d3460c1575366c846c803f63c2d2e01c66a85aa9 100644 (file)
@@ -259,12 +259,10 @@ state_rule_lookahead_tokens_print_xml (state *s, rule *r,
     {
       bitset_iterator biter;
       int k;
-      char const *sep = "";
       xml_puts (out, level, "<lookaheads>");
       BITSET_FOR_EACH (biter, reds->lookahead_tokens[red], k, 0)
        {
-         xml_printf (out, level + 1, "<symbol class=\"%s\">%s</symbol>",
-                     symbol_class_get_string (symbols[k]),
+         xml_printf (out, level + 1, "<symbol>%s</symbol>",
                      xml_escape (symbols[k]->tag));
        }
       xml_puts (out, level, "</lookaheads>");