* A couple of bug fixes in c-to-c.py (Issue 35, and comlex types in function argument declarations)
* added unit tests for c-to-c.py
diff --git a/z_test.py b/z_test.py
index de5252b..44a3eb9 100644
--- a/z_test.py
+++ b/z_test.py
@@ -76,15 +76,9 @@
if __name__ == "__main__":
source_code = """
-typedef char FlagType;
-
int main()
{
-}
-
-int myproc( int FlagType)
-{
-
+ x = 5 + 10;
}
@@ -107,7 +101,7 @@
#--------------- Parsing
parser = CParser()
ast = parser.parse(source_code, filename='zz')
- ast.show(showcoord=True)
+ ast.show(showcoord=False)
nv=NodeVisitor()
nv.visit(ast)