aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-17 15:10:22 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-17 15:10:22 +0000
commit419384dbd0efced3af6c10ccfc2eee4ff6ca22c7 (patch)
treedb81f68a4afd5e150ffeedf17f91abbff5223518 /c_parser/test
parent6c4106967613cfebfe8582c84eacbf5b4110729f (diff)
downloadCompiler-419384dbd0efced3af6c10ccfc2eee4ff6ca22c7.tar.gz
Compiler-419384dbd0efced3af6c10ccfc2eee4ff6ca22c7.zip
Functions now work as well
Diffstat (limited to 'c_parser/test')
-rw-r--r--c_parser/test/output.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/c_parser/test/output.xml b/c_parser/test/output.xml
index 0e8833b..8ea3e1c 100644
--- a/c_parser/test/output.xml
+++ b/c_parser/test/output.xml
@@ -1,4 +1,3 @@
-Function Def
<?xml version="1.0"?>
<Program>
<Variable id="a" />
@@ -11,3 +10,10 @@ Function Def
<Variable id="d" />
<Variable id="hello" />
<Variable id="asd" />
+<Function id="f">
+<Parameter id="i" />
+<Parameter id="b" />
+<Parameter id="c" />
+<Parameter id="d" />
+</Function>
+</Program>