wasmerio / vscode-wasm

WebAssembly extension for VSCode
https://marketplace.visualstudio.com/items?itemName=dtsvet.vscode-wasm
MIT License
129 stars 19 forks source link

Negative floats get highlighted in different color #31

Open tom-programming opened 3 years ago

tom-programming commented 3 years ago

MWE:

(module
(func (result f64)
  f64.const -8.33
  f64.const 8.33
)
)

see my output: highlight-2

VSCode version: 1.58.0 OS: macOS Extension 1.3.1

EDIT: more specifically the "-8" gets lexed as an integer and ".33" is invalid. It is probably an issue of priorities. Moreover the keywords "get_local" and "set_local" show up as "invalid" too.