File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed
Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 55 {
66 "include" : " #comments"
77 },
8- {
9- "include" : " #keywords"
10- },
118 {
129 "include" : " #speedsfeeds"
1310 },
2522 },
2623 {
2724 "include" : " #macrovars"
25+ },
26+ {
27+ "include" : " #keywords"
28+ },
29+ {
30+ "include" : " #operators"
2831 }
2932 ],
3033 "repository" : {
6063 "name" : " string.gcode"
6164 },
6265 {
63- "match" : " (GOTO)|(IF)|(EQ)|(NE)|(LT)|(GT)" ,
66+ "match" : " (GOTO)|(IF)|(EQ)|(NE)|(LT)|(GT)|(LE)|(GE)|(DO)|(WHILE)|(END)|(AND)|(OR)|(XOR) " ,
6467 "name" : " keyword.control.gcode"
6568 }
6669 ]
6770 },
6871 "operators" : {
6972 "patterns" : [
7073 {
71- "match" : " (SIN)|(COS)|(TAN)" ,
74+ "match" : " (SIN)|(COS)|(TAN)|(ASIN)|(ACOS)|(ATAN)|(LN)|(SQRT)|(MOD)|(EXP) " ,
7275 "name" : " support.constant.math.gcode"
76+ },
77+ {
78+ "match" : " (FIX)|(FUP)|(ROUND)|(ABS)" ,
79+ "name" : " support.constant.math.gcode"
80+ },
81+ {
82+ "match" : " (\\ +)|(\\ *)|(\\ /)|(\\ *\\ *)" ,
83+ "name" : " support.constant.math.gcode"
84+ },
85+ {
86+ "match" : " (\\ -)" ,
87+ "name" : " invalid.gcode"
7388 }
7489 ]
7590 },
You can’t perform that action at this time.
0 commit comments