Stationeers-ic / vscode-stationeers-ic10

MIT License
20 stars 4 forks source link

VS Code marks sp as an invalid parameter #41

Closed joshuareeves closed 3 years ago

joshuareeves commented 3 years ago

Describe the bug VS Code highlights the use of the default "sp" label for r16 register as an error: "invalid parameter: sp, must be "R/N"(ic10_diagnostic)"

To Reproduce Steps to reproduce the behavior:

  1. Write a line to clear the stack pointer: "move sp 0"
  2. See that VS Code reports this as an error and underlines the "sp" with a red squiggly line.

Expected behavior VS Code should recognize "sp" as a valid default label, in the same way it recognizes "ra" as a valid label.

Screenshots image

Traineratwot commented 3 years ago

fixed. update the extension :)

joshuareeves commented 3 years ago

Awesome! Thanks!