Add function to search for reserved operators.

This commit is contained in:
2018-03-16 22:11:05 -07:00
parent ab2311def9
commit d25c1a379a
3 changed files with 63 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ project(libabacus)
add_compile_options(-pedantic -Wall)
add_library(abacus STATIC src/lexer.c src/util.c src/table.c src/parser.c src/libabacus.c src/tree.c src/debug.c src/parsetype.c)
add_library(abacus STATIC src/lexer.c src/util.c src/table.c src/parser.c src/libabacus.c src/tree.c src/debug.c src/parsetype.c src/reserved.c)
add_executable(libabacus src/main.c)
add_subdirectory(external/liblex)