Add parsing for escaping and remove "fault" token name. Allow excluding stdlib. Fixes to the x64 abi: no narrowing done for i32 results, assuming too many registers, more tests.

This commit is contained in:
Christoffer Lerno
2022-01-11 22:24:47 +01:00
committed by Christoffer Lerno
parent 684ad9e663
commit 5683fe3f8c
33 changed files with 397 additions and 49 deletions

View File

@@ -1579,7 +1579,6 @@ ParseRule rules[TOKEN_EOF + 1] = {
[TOKEN_VOID] = { parse_type_identifier, NULL, PREC_NONE },
[TOKEN_TYPEID] = { parse_type_identifier, NULL, PREC_NONE },
[TOKEN_ANYERR] = { parse_type_identifier, NULL, PREC_NONE },
[TOKEN_FAULT] = { parse_type_identifier, NULL, PREC_NONE },
[TOKEN_VARIANT] = { parse_type_identifier, NULL, PREC_NONE },
[TOKEN_QUESTION] = { NULL, parse_ternary_expr, PREC_TERNARY },