fix issue 48: handling of empty files
diff --git a/z_test.py b/z_test.py
index 1d3d226..32cc18a 100644
--- a/z_test.py
+++ b/z_test.py
@@ -76,11 +76,6 @@
if __name__ == "__main__":
source_code = '''
- static void foo(int k)
- {
- j = p && r || q;
- return j;
- }
'''
@@ -99,7 +94,7 @@
#~ printme([tok.value, tok.type, tok.lineno, clex.filename, tok.lexpos])
#--------------- Parsing
- parser = CParser()
+ parser = CParser(lex_optimize=False, yacc_optimize=False)
ast = parser.parse(source_code, filename='zz')
ast.show(showcoord=False)
#~ nv=NodeVisitor()