Skip to content

Commit d124c95

Browse files
committed
Merge branch 'hotfix-0.1.1'
2 parents c05fb9f + 077c58f commit d124c95

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// A launch configuration that launches the extension inside a new window
22
{
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"configurations": [
55
{
66
"name": "Launch Extension",

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Change Log
22
All changes to vscode-code-syntax will be documented here.
33

4+
## v0.1.1 [#]()
5+
46
## v0.1.0 [#](https://github.com/appliedengdesign/vscode-gcode-syntax/releases/tag/v0.1.0)
57

68
- Initial Release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Install & activate extension. Extension activates when you open a file marked fo
2525

2626
## Known Issues
2727

28-
No known issues at this time.
28+
Please visit our [GitHub Issues](https://github.com/appliedengdesign/vscode-gcode-syntax/issues) page for any open issues.
2929

3030
## TODO
3131

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-gcode-syntax",
33
"displayName": "G-Code Syntax",
44
"description": "CNC G-Code Syntax Langauge",
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"license": "MIT",
77
"publisher": "appliedengdesign",
88
"author": {

syntaxes/gcode.tmLanguage.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
{
66
"include": "#comments"
77
},
8-
{
9-
"include": "#keywords"
10-
},
118
{
129
"include": "#speedsfeeds"
1310
},
@@ -25,6 +22,12 @@
2522
},
2623
{
2724
"include": "#macrovars"
25+
},
26+
{
27+
"include": "#keywords"
28+
},
29+
{
30+
"include": "#operators"
2831
}
2932
],
3033
"repository": {
@@ -60,16 +63,28 @@
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
},

0 commit comments

Comments
 (0)