Skip to content

Commit b095452

Browse files
committed
add keywords
1 parent 644ae3f commit b095452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wast/wast.sln renamed to wast.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.28803.452
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}") = "wast", "wast.njsproj", "{54E433C0-49B4-4503-A8F1-63F6FC217792}"
6+
Project("{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}") = "wast", "wast\wast.njsproj", "{54E433C0-49B4-4503-A8F1-63F6FC217792}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

wast/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace wast {
44

55
export const whitespace: string = " "
6-
export const keywords: string[] = "return|module|func|data|global|local|import|param|result|mut|export|set_local|block|get_local|set_global|get_global|loop|br|br_if|if|then|else|start".split("|");
6+
export const keywords: string[] = "return|module|func|data|global|local|import|param|result|mut|export|set_local|block|get_local|set_global|get_global|loop|br|br_if|if|then|else|start|drop|call|memory".split("|");
77
export const types: string[] = "i32|i64|f32|f64".split("|");
88

99
export function highlight(wast: string): HTMLTableElement {

0 commit comments

Comments
 (0)