fixing previous fix:
- that rule created many conflicts. change it to having a check in the parse method instead
diff --git a/z_test.py b/z_test.py
index 32cc18a..6f22260 100644
--- a/z_test.py
+++ b/z_test.py
@@ -76,6 +76,7 @@
if __name__ == "__main__":
source_code = '''
+ int a;
'''
@@ -94,7 +95,7 @@
#~ printme([tok.value, tok.type, tok.lineno, clex.filename, tok.lexpos])
#--------------- Parsing
- parser = CParser(lex_optimize=False, yacc_optimize=False)
+ parser = CParser(lex_optimize=False, yacc_optimize=False, yacc_debug=True)
ast = parser.parse(source_code, filename='zz')
ast.show(showcoord=False)
#~ nv=NodeVisitor()