First pass at a JSON parser
This commit is contained in:
1 parent
92654f8204
commit
e98624e5a9
5 files changed
+421
-11
No files matched your search
+5
-4
@@ -21,11 +21,12 @@ parsertest: parser.tab.c lexer.yy.c main.c opcode.c bytecode.c compile.c execute
|
||||
$(CC) -o $@ $^ -ljansson
|
||||
|
||||
jvtest: jvtest.c jv.c jv_print.c
|
||||
$(CC) -o $@ $^ -ljansson
|
||||
$(CC) -DNO_JANSSON -o $@ $^
|
||||
|
||||
jv_parse: jv_parse.c jv.c jv_print.c jv_dtoa.c
|
||||
$(CC) -DNO_JANSSON -o $@ $^
|
||||
|
||||
|
||||
test: jvtest
|
||||
valgrind --error-exitcode=1 -q --leak-check=full ./jvtest
|
||||
|
||||
jsparse: jsparse.l jv.c
|
||||
flex -o jsparse.c jsparse.l
|
||||
gcc -o jsparse jsparse.c -ljansson
|
||||
Reference in new issue
Block a user