typecheck: reject extra NEW tokens

This commit is contained in:
Hermes Agent
2026-09-17 00:14:04 +00:00
parent 15d7145ca7
commit eda28f1699
6 changed files with 13 additions and 3 deletions
@@ -0,0 +1,5 @@
CLASS Player
HAS score NUMBER
END
NEW Player player extra