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

结论:新增重复/未匹配 O-word label 和 out-of-context return/endsub 的 source-link 断言;依据 LinuxCNC interp_o_word.cc,未扩展 smoke。
This commit is contained in:
cnc
2026-06-02 17:55:14 +08:00
parent 25519b5bc4
commit cc708b1ccc
8 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1 @@
O100 break

View File

@@ -0,0 +1,4 @@
O100 if [1]
O100 endif
O100 if [1]
O100 endif

View File

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

View File

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

View File

@@ -0,0 +1 @@
O100 endsub

View File

@@ -0,0 +1 @@
O100 return