aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-17 17:38:57 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-17 17:38:57 +0000
commit73e70e48560ca6a90ff6854d12fe0be46c825015 (patch)
tree6ad455e02075b30200c574c190d66c14f85fbec7 /c_parser/test
parent95293c6e1c24a04a1d3659e987ad505f1ff77387 (diff)
downloadCompiler-73e70e48560ca6a90ff6854d12fe0be46c825015.tar.gz
Compiler-73e70e48560ca6a90ff6854d12fe0be46c825015.zip
Fixed case for empty param list in function
Diffstat (limited to 'c_parser/test')
-rw-r--r--c_parser/test/out/02.diff.txt8
-rw-r--r--c_parser/test/out/02.stderr.txt1
-rw-r--r--c_parser/test/out/02.stdout.xml7
3 files changed, 7 insertions, 9 deletions
diff --git a/c_parser/test/out/02.diff.txt b/c_parser/test/out/02.diff.txt
index 09321ae..e69de29 100644
--- a/c_parser/test/out/02.diff.txt
+++ b/c_parser/test/out/02.diff.txt
@@ -1,8 +0,0 @@
-1,7d0
-< <?xml version="1.0"?>
-< <Program>
-< <Function id="f">
-< <Scope>
-< </Scope>
-< </Function>
-< </Program>
diff --git a/c_parser/test/out/02.stderr.txt b/c_parser/test/out/02.stderr.txt
index 6200509..e69de29 100644
--- a/c_parser/test/out/02.stderr.txt
+++ b/c_parser/test/out/02.stderr.txt
@@ -1 +0,0 @@
-Parse error : syntax error
diff --git a/c_parser/test/out/02.stdout.xml b/c_parser/test/out/02.stdout.xml
index e69de29..bc37d7a 100644
--- a/c_parser/test/out/02.stdout.xml
+++ b/c_parser/test/out/02.stdout.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<Program>
+<Function id="f">
+<Scope>
+</Scope>
+</Function>
+</Program>