Add bad exists interpreter error fixtures

This commit is contained in:
2026-06-09 08:09:33 +08:00
parent 45420b055a
commit 50757e45ba
14 changed files with 173 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
(Expected # reading parameter)
G0 X EXISTS[1]
M2

View File

@@ -0,0 +1,3 @@
(Expected ] reading bracketed parameter)
G0 X EXISTS[#1+#2]
M2

View File

@@ -0,0 +1,4 @@
(Parameter number out of range)
#2=99999
G0 X EXISTS[###2]
M2

View File

@@ -0,0 +1,3 @@
(Unknown word starting with f)
G0 X EXISTS[#foo]
M2

View File

@@ -0,0 +1,3 @@
(Named parameter not terminated)
G0 X EXISTS[#<foo]
M2

View File

@@ -0,0 +1,3 @@
;bad number format (conversion failed) parsing ''
G0 X EXISTS[#]
M2

View File

@@ -0,0 +1,3 @@
(Expected ] reading bracketed parameter)
G0 X EXISTS[#<foo>+1]
M2