Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
Test the INI parser with regards to comments, both inline and on it's own line.
After 2.7.x, the INI parser in LinuxCNC does not support inline comments.
See: https://github.com/LinuxCNC/linuxcnc/issues/991

View File

@@ -0,0 +1,4 @@
value1
value2 ; inline not comment
value3
value4 # another inline not comment

6
tests/inifile/comments/test.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
inivar -ini with_comments.ini -var key1
inivar -ini with_comments.ini -var key2
inivar -ini with_comments.ini -var key3
inivar -ini with_comments.ini -var key4

View File

@@ -0,0 +1,8 @@
; This is a comment
[section1]
key1=value1
; Another comment
key2=value2 ; inline not comment
# different comment style
key3=value3
key4=value4 # another inline not comment