Support #[...] as an alternative attribute syntax

(Experimentation between `@()` and `#[]`)
This commit is contained in:
gingerBill
2018-12-26 12:19:12 +00:00
parent 1f2fdddc6d
commit eb5af2876a
2 changed files with 96 additions and 90 deletions

View File

@@ -946,7 +946,6 @@ Token tokenizer_get_token(Tokenizer *t) {
break;
case '~': token.kind = token_kind_variant2(t, Token_Xor, Token_XorEq); break;
case '!': token.kind = token_kind_variant2(t, Token_Not, Token_NotEq); break;
// case '+': token.kind = token_kind_variant3(t, Token_Add, Token_AddEq, '+', Token_Inc); break;
case '+': token.kind = token_kind_variant2(t, Token_Add, Token_AddEq); break;
case '-':
token.kind = Token_Sub;