diff options
Diffstat (limited to 'c_parser/test')
-rw-r--r-- | c_parser/test/output.xml | 13 | ||||
-rw-r--r-- | c_parser/test/test_parser.c | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/c_parser/test/output.xml b/c_parser/test/output.xml new file mode 100644 index 0000000..852ed49 --- /dev/null +++ b/c_parser/test/output.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<Program> +<Variable id="a" /> +<Variable id="b" /> +<Variable id="c" /> +<Variable id="yann" /> +<Variable id="is" /> +<Variable id="the" /> +<Variable id="best" /> +<Variable id="d" /> +<Variable id="hello" /> +<Variable id="asd" /> +</Program> diff --git a/c_parser/test/test_parser.c b/c_parser/test/test_parser.c index a685aff..557fd56 100644 --- a/c_parser/test/test_parser.c +++ b/c_parser/test/test_parser.c @@ -2,4 +2,5 @@ int a; int b; int c; int yann, is, the, best; -int hello = 0; +int d = 0; +int hello = 123, asd = 123; |