From b16ae0960b396c8c20e4711eabfe4b826a039d7e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 9 Jan 2024 08:45:26 +0100 Subject: CompilerDriver: new preprocessor tool, bpp. Syntax rules of bpp: - prefixed with % - looks like C preprocessor %ifdef, %if, %elif, %else, %endif - #define is %def. - can't call other defines in %def, so %define foo __false doesn't work. bpp is a new preprocessor for masm and bccl. Signed-off-by: Amlal El Mahrouss --- CompilerDriver/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CompilerDriver/makefile') diff --git a/CompilerDriver/makefile b/CompilerDriver/makefile index 4149005..8fe9c79 100644 --- a/CompilerDriver/makefile +++ b/CompilerDriver/makefile @@ -13,8 +13,8 @@ LINK_SRC=ld.cc LINK_OUTPUT=bin/ld LINK_ALT_OUTPUT=bin/mld -PP_SRC=cpp.cc -PP_OUTPUT=bin/cpp +PP_SRC=bpp.cc +PP_OUTPUT=bin/bpp CC2_OUTPUT=bin/cppfront CC2_SRC=cc2/source/cppfront.cpp -- cgit v1.2.3