diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-09 08:45:26 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-09 08:50:57 +0100 |
| commit | b16ae0960b396c8c20e4711eabfe4b826a039d7e (patch) | |
| tree | 8e1688a956c98f3fee7218f5664ef1ac61100477 /CompilerDriver/makefile | |
| parent | 8d7c9c7296e9b2e2afb79ce19d2560ab218d77aa (diff) | |
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerDriver/makefile')
| -rw-r--r-- | CompilerDriver/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
