Ported unicode conversions
This commit is contained in:
10
ccodegen.cpp
10
ccodegen.cpp
@@ -415,6 +415,14 @@ gen_ast(Ast *ast){
|
||||
BREAK();
|
||||
}
|
||||
|
||||
|
||||
CASE(BREAK, Break){
|
||||
unused(node);
|
||||
gen("break;");
|
||||
BREAK();
|
||||
}
|
||||
|
||||
|
||||
CASE(PASS, Pass){
|
||||
unused(node);
|
||||
gen("//pass");
|
||||
@@ -695,6 +703,8 @@ typedef struct String{
|
||||
S64 len;
|
||||
}String;
|
||||
#define LIT(x) (String){.str=(U8 *)x, .len=sizeof(x)-1}
|
||||
#define assert(x) do{if(!(x))__debugbreak();}while(0)
|
||||
#define assert_msg(x,...) assert(x)
|
||||
|
||||
)==");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user