1
0
Fork 0
mirror of https://github.com/pnx/m16vm synced 2026-06-16 03:44:55 +02:00

as/lexer.c: move hex/dec parse functions to as/lexer/number.c

This commit is contained in:
Henrik Hautakoski 2019-03-29 16:01:59 +01:00
parent caed36a936
commit 040caee7f4
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
4 changed files with 112 additions and 59 deletions

View file

@ -29,7 +29,7 @@ m16vm : vm/vm.o vm/cpu.o vm/mm.o vm/instr_decode.o \
vm/syscall.o vm/program.o vm/debug.o lib/libm16.a
$(QUIET_LD)$(LD) $(LDFLAGS) -o $@ $^
m16as : as/as.o as/parser.o as/lexer.o \
m16as : as/as.o as/parser.o as/lexer.o as/lexer/number.o \
as/codegen.o as/symtab.o \
as/ast.o lib/libm16.a
$(QUIET_LD)$(LD) $(LDFLAGS) -o $@ $^
@ -42,6 +42,7 @@ lib/libm16.a : lib/vector.o lib/error.o
clean :
$(RM) as/*.o
$(RM) as/lexer/*.o
$(RM) vm/*.o
$(RM) lib/*.o
$(RM) lib/*.a