diff --git a/grammars/grammar-tact.json b/grammars/grammar-tact.json index 615ef7dc..073d3186 100644 --- a/grammars/grammar-tact.json +++ b/grammars/grammar-tact.json @@ -104,7 +104,7 @@ "patterns": [ { "comment": "FunC identifier", - "match": "((?:[a-zA-Z_\\'\\?!&]|::)(?:[a-zA-Z0-9_\\'\\?!&]|::)*)", + "match": "(.*?)", "name": "entity.name.function.func.tact" } ], @@ -138,9 +138,40 @@ } } }, + { + "comment": "Asm arrangements", + "begin": "(?", + "name": "keyword.operator.mapsto.tact" + }, + { + "match": "\\b([0-9]*)\\b", + "name": "constant.numeric.decimal.tact" + } + ], + "end": "\\)", + "endCaptures": { + "0": { + "name": "punctuation.brackets.round.tact" + } + } + }, { "comment": "Fallback match", - "match": "(?