aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/output.xml
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-17 15:44:24 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-17 15:44:24 +0000
commitb81f60d8b523260526af15361d4ce0ac4a7757c8 (patch)
treef2e779a6ed0f0879875e5a0482f2dfcafeaffef3 /c_parser/test/output.xml
parent419384dbd0efced3af6c10ccfc2eee4ff6ca22c7 (diff)
downloadCompiler-b81f60d8b523260526af15361d4ce0ac4a7757c8.tar.gz
Compiler-b81f60d8b523260526af15361d4ce0ac4a7757c8.zip
Finished functions for now
Diffstat (limited to 'c_parser/test/output.xml')
-rw-r--r--c_parser/test/output.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/c_parser/test/output.xml b/c_parser/test/output.xml
index 8ea3e1c..d4594a2 100644
--- a/c_parser/test/output.xml
+++ b/c_parser/test/output.xml
@@ -10,10 +10,28 @@
<Variable id="d" />
<Variable id="hello" />
<Variable id="asd" />
+<Variable id="a" />
<Function id="f">
<Parameter id="i" />
<Parameter id="b" />
<Parameter id="c" />
<Parameter id="d" />
+<Scope>
+<Variable id="a" />
+</Scope>
+</Function>
+<Variable id="a" />
+<Variable id="b" />
+<Variable id="c" />
+<Variable id="c" />
+<Variable id="d" />
+<Function id="func">
+<Parameter id="asd" />
+<Parameter id="b" />
+<Scope>
+<Variable id="a" />
+<Variable id="b" />
+<Variable id="c" />
+</Scope>
</Function>
</Program>