diff --git a/package-lock.json b/package-lock.json index a727ceb..ed9dd7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@minoru/react-dnd-treeview": "^3.4.1", "@monaco-editor/react": "^4.5.1", "@orbs-network/ton-access": "^2.3.0", - "@tact-lang/compiler": "^1.3.1", + "@tact-lang/compiler": "^1.4.0", "@ton-community/func-js": "^0.5.0", "@ton/core": "^0.56.3", "@ton/sandbox": "^0.16.0", @@ -883,9 +883,9 @@ } }, "node_modules/@tact-lang/compiler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.3.1.tgz", - "integrity": "sha512-XAKgO5DMUzP1Ya6lMv5tIPYhQKYmeb26aK4TpcI4GW6dHyyV7jpmbH2DJgdwJvGCAbombmq0FGhwM3zKoTITwQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.4.0.tgz", + "integrity": "sha512-MUZ8ulTrIs0sgs1tdNww7yan6ozMGNO7xR6S0yKZc57E0EN9o72vRqKdQW7k3iS3+MvltKPt6RVbNamtuVJ1tQ==", "dependencies": { "@ipld/dag-pb": "2.1.18", "@tact-lang/opcode": "^0.0.14", @@ -9247,9 +9247,9 @@ } }, "@tact-lang/compiler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.3.1.tgz", - "integrity": "sha512-XAKgO5DMUzP1Ya6lMv5tIPYhQKYmeb26aK4TpcI4GW6dHyyV7jpmbH2DJgdwJvGCAbombmq0FGhwM3zKoTITwQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@tact-lang/compiler/-/compiler-1.4.0.tgz", + "integrity": "sha512-MUZ8ulTrIs0sgs1tdNww7yan6ozMGNO7xR6S0yKZc57E0EN9o72vRqKdQW7k3iS3+MvltKPt6RVbNamtuVJ1tQ==", "requires": { "@ipld/dag-pb": "2.1.18", "@tact-lang/opcode": "^0.0.14", diff --git a/package.json b/package.json index 2b7a1b1..9f8d6b9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@minoru/react-dnd-treeview": "^3.4.1", "@monaco-editor/react": "^4.5.1", "@orbs-network/ton-access": "^2.3.0", - "@tact-lang/compiler": "^1.3.1", + "@tact-lang/compiler": "^1.4.0", "@ton-community/func-js": "^0.5.0", "@ton/core": "^0.56.3", "@ton/sandbox": "^0.16.0", diff --git a/src/assets/ton/tact/tmLanguage.json b/src/assets/ton/tact/tmLanguage.json index 86545a4..5ef32bc 100644 --- a/src/assets/ton/tact/tmLanguage.json +++ b/src/assets/ton/tact/tmLanguage.json @@ -16,11 +16,14 @@ "include": "#literal" }, { - "include": "#type" + "include": "#invalid" }, { "include": "#constant" }, + { + "include": "#type" + }, { "include": "#expression" }, @@ -60,7 +63,7 @@ "begin": "\\s*/\\*", "beginCaptures": { "0": { - "name": "comment.block.begin.tact" + "name": "comment.block.begin.tact punctuation.definition.comment.begin.tact" } }, "patterns": [ @@ -71,7 +74,7 @@ "end": "\\*/", "endCaptures": { "0": { - "name": "comment.block.end.tact" + "name": "comment.block.end.tact punctuation.definition.comment.end.tact" } } } @@ -176,7 +179,7 @@ { "comment": "self", "match": "(?