继续按 align-linuxcnc 约束:补 O-word 匹配错误源码覆盖

结论:新增 undefined/no-matching O-word label 与子程序闭合方式错误的 source-link 断言;依据 LinuxCNC interp_o_word.cc,未扩展 smoke。
This commit is contained in:
cnc
2026-06-02 18:01:07 +08:00
parent cc708b1ccc
commit 4f1042c548
13 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
O100 if [1]
O100 break

View File

@@ -0,0 +1,2 @@
O100 if [1]
O100 continue

View File

@@ -0,0 +1 @@
O100 continue

View File

@@ -0,0 +1 @@
O100 else

View File

@@ -0,0 +1,2 @@
O100 while [0]
O100 elseif [1]

View File

@@ -0,0 +1,2 @@
O100 while [1]
O100 endif

View File

@@ -0,0 +1 @@
O100 endif

View File

@@ -0,0 +1,2 @@
O100 if [1]
O100 endwhile

View File

@@ -0,0 +1 @@
O100 endwhile

View File

@@ -0,0 +1,4 @@
M98 P100
O100
O100 endsub
M2

View File

@@ -0,0 +1,3 @@
O100 call
O100 sub
M99