Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔥 move prettyerr, update errors (mac fix?)
- Loading branch information
1 parent
c23fff6
commit b1289e8
Showing
26 changed files
with
631 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ast
updated
19 files
+0 −3 | .gitmodules | |
+0 −1 | config.mk.orig | |
+1 −1 | include/ast_getter.h | |
+1 −2 | include/gwion_ast.h | |
+36 −0 | include/gwlog.h | |
+0 −31 | include/loc.h | |
+9 −9 | include/pparg.h | |
+2 −2 | include/scanner.h | |
+0 −1 | libprettyerr | |
+1 −1 | main.c | |
+259 −166 | pass/xxx.c | |
+0 −66 | pass/xxx.h | |
+2 −2 | src/gwion.l | |
+2 −8 | src/gwion.y | |
+53 −35 | src/gwlog.c | |
+2 −2 | src/lexer.c | |
+2 −8 | src/parser.c | |
+6 −6 | src/pparg.c | |
+5 −4 | src/scanner.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
-Wall | ||
-Wextra | ||
-Iutil/include | ||
-Iast/include | ||
-Iast/libprettyerr/src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#pragma once | ||
|
||
ANN bool exp_validation(Env env, Exp* b); | ||
ANN bool func_def_validation(Env env, Func_Def b); | ||
ANN bool union_def_validation(Env env, Union_Def b); | ||
ANN bool enum_def_validation(Env env, Enum_Def b); | ||
ANN bool fptr_def_validation(Env env, Fptr_Def b); | ||
ANN bool type_def_validation(Env env, Type_Def b); | ||
ANN bool class_def_validation(Env env, Class_Def b); | ||
ANN bool ast_validation(Env env, Ast *ast); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.