diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-14 17:49:19 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-14 17:50:15 +0200 |
| commit | 9f031e69aace747feb5bac78eccb9a1d5df81f74 (patch) | |
| tree | 3cc53814499a1b2c2d44fdffc7f694732cd44a1f /tests | |
| parent | 94ceccd5acda2fd035eb55235126b944b0915576 (diff) | |
feat(cc): Rename Parser.h to CompilerFrontend.h, refactor codebase
accordingly.
why:
- To make its intent clearer, and avoid future confusions.
also:
- Ran ./format.sh to the codebase.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/example.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/example.cc b/tests/example.cc index 2e2a364..9ee2a30 100644 --- a/tests/example.cc +++ b/tests/example.cc @@ -1,5 +1,5 @@ -#define AppMain __ImageStart -#warning TestCase #1 +#define main __ImageStart +#warning test macro warning #1 int bar() { int yyy = 100; @@ -11,6 +11,6 @@ int foo() { return bar(); } -int AppMain() { +int main() { return foo(); } |
