diff options
| author | hachem <im@hachem.wtf> | 2026-09-19 13:47:08 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-19 13:47:08 +0200 |
| commit | d0ca03c84bcad3dc42fd173b0baf3a15e9b52f9b (patch) | |
| tree | 89fa494129849e23b1d760466e87ef6046cbfcb4 /sfinae.l | |
| parent | a79c97e04562b171780a24cba2cb1a71acfa4bbb (diff) | |
feat: add conditionals
Diffstat (limited to 'sfinae.l')
| -rw-r--r-- | sfinae.l | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -49,6 +49,13 @@ static int fail(const char* message) "tuple_size" return TOK_TUPLE_SIZE; "integral_constant" return TOK_INTEGRAL_CONSTANT; "value" return TOK_VALUE; +"conditional_t" return TOK_CONDITIONAL_T; +"conditional" return TOK_CONDITIONAL; +"true_type" return TOK_TRUE_TYPE; +"false_type" return TOK_FALSE_TYPE; +"is_same" return TOK_IS_SAME; +"equal" return TOK_EQUAL; +"less" return TOK_LESS; [<>(),;] return yytext[0]; '\\.' yylval.character = unescape(yytext[2]); return TOK_CHAR; '.' yylval.character = yytext[1]; return TOK_CHAR; |
