Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 9ec00ce

Browse files
committed
[Interpreter] lexer: v -> vxxx
Use `vxxx` to denote vector type in the lexer.
1 parent 7071537 commit 9ec00ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interpreter/text/lexer.mll

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ let reserved = ([^'\"''('')'';'] # space)+ (* hack for table size *)
140140

141141
let ixx = "i" ("32" | "64")
142142
let fxx = "f" ("32" | "64")
143-
let v = "v128"
144-
let nxx = ixx | fxx | v
143+
let vxxx = "v128"
144+
let nxx = ixx | fxx | vxxx
145145
let mixx = "i" ("8" | "16" | "32" | "64")
146146
let mfxx = "f" ("32" | "64")
147147
let sign = "s" | "u"

0 commit comments

Comments
 (0)