|
@@ -9,6 +9,14 @@ G1 X100 Y100 ; Move to 100,100
|
9
|
9
|
; ^constant.numeric.param.gcode
|
10
|
10
|
; ^comment
|
11
|
11
|
|
|
12
|
+T0 (This is a comment) S12
|
|
13
|
+;^entity.command.gcode
|
|
14
|
+; ^punctuation.paren.comment.open
|
|
15
|
+; ^paren.comment.gcode
|
|
16
|
+; ^punctuation.paren.comment.close
|
|
17
|
+; ^keyword.param.gcode
|
|
18
|
+; ^constant.numeric.param.gcode
|
|
19
|
+
|
12
|
20
|
M20 P'/path/to/macro/macro.g' R12
|
13
|
21
|
;<-entity.command.gcode
|
14
|
22
|
;^constant.numeric.command.gcode
|
|
@@ -16,6 +24,8 @@ M20 P'/path/to/macro/macro.g' R12
|
16
|
24
|
; ^punctuation.quote.single.open.gcode
|
17
|
25
|
; ^string.quoted.single.gcode
|
18
|
26
|
; ^punctuation.quote.single.close.gcode
|
|
27
|
+; ^keyword.param.gcode
|
|
28
|
+; ^constant.numeric.param.gcode
|
19
|
29
|
|
20
|
30
|
M117 This is a message ; and comment
|
21
|
31
|
;<-entity.command.gcode
|
|
@@ -83,6 +93,14 @@ N234 G1 X-5 Y+2 *64 error
|
83
|
93
|
; ^constant.numeric.checksum.gcode
|
84
|
94
|
; ^invalid.error.syntax.gcode
|
85
|
95
|
|
86
|
|
-N234 M107 *64
|
|
96
|
+N234 M107 *64
|
87
|
97
|
; ^-invalid.error.syntax.gcode
|
88
|
98
|
|
|
99
|
+M92 E304.5:304.5:420:420:420:420 ; EOL Comment
|
|
100
|
+;<-entity.command.gcode
|
|
101
|
+;^constant.numeric.command.gcode
|
|
102
|
+; ^keyword.param.gcode
|
|
103
|
+; ^constant.numeric.param.gcode
|
|
104
|
+; ^constant.numeric.param.gcode
|
|
105
|
+; ^punctuation.comment.eol.start
|
|
106
|
+; ^comment.gcode
|