继续按 align-linuxcnc 约束:补 block reader 源码错误覆盖

结论:覆盖 LinuxCNC interp_read.cc/read_dollar()/read_one_item() 的重复 $、非法起始字符和中途 N word 错误,以及 interp_check.cc/check_m_codes() 的 M 码数量错误;未扩展 smoke。

验证:./test-linuxcnc-source-link.sh;./test-native.sh。
This commit is contained in:
cnc
2026-06-02 17:00:55 +08:00
parent b83bc47c45
commit 7bd1dc640f
6 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
!

View File

@@ -0,0 +1 @@
G1 N10 X1 F100

View File

@@ -0,0 +1 @@
$0 $1

View File

@@ -0,0 +1 @@
M0 M3 M6 M7 M48