diff options
author | Thomas Bracht Laumann Jespersen <t@laumann.xyz> | 2025-02-02 08:59:12 +0100 |
---|---|---|
committer | Thomas Bracht Laumann Jespersen <t@laumann.xyz> | 2025-02-02 08:59:12 +0100 |
commit | d8321c1947b644888f92795a75645d0c91a6a92d (patch) | |
tree | 058d5e9e66463b9b173e513c3244a4da93c0a28c /c/makefile | |
parent | 7b72404f5ec31a29aafa6faaf9c284487c819175 (diff) |
Still need to parse numbers, but otherwise the lexer looks
functional. It provides location information for each token (something
the OCaml impl does not do).
Diffstat (limited to 'c/makefile')
-rw-r--r-- | c/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,8 +4,8 @@ OBJ = main.o panic.o lex.o token.o CC = gcc -CFLAGS = -std=c17 -g -fsanitize=address,undefined -Wall -LDFLAGS = -std=c17 -g -fsanitize=address,undefined +CFLAGS = -std=c17 -g3 -fsanitize=address,undefined -Wall -Wdouble-promotion -Wconversion -D_POSIX_C_SOURCE=200809L +LDFLAGS = -std=c17 -g3 -fsanitize=address,undefined -D_POSIX_C_SOURCE=200809L lc: $(OBJ) $(CC) $(LDFLAGS) $(OBJ) -o $@ |