Allow for @indent for attributes that don't require any parameters; Add -ignore-unknown-attributes

This commit is contained in:
gingerBill
2019-01-30 14:24:14 +00:00
parent 96ef6aa7f3
commit dee28d998f
7 changed files with 103 additions and 78 deletions
+3 -1
View File
@@ -159,9 +159,11 @@ using Kind :: enum i32 {
Yield,
Await,
B_Keyword_End,
COUNT,
};
tokens := [len(Kind)]string {
tokens := [Kind.COUNT]string {
"Invalid",
"EOF",
"Comment",