Skip to content

Commit

Permalink
fixes case sensitive constant in CLLE
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettotte committed Aug 13, 2024
1 parent f1f5e0c commit 9bdc51b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/cl.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"patterns": [
{
"name": "comment.line.cl",
"begin": "(\\/\\*)(?!(ALL|FIRST))",
"begin": "(?i)(\\/\\*)(?!(ALL|FIRST))",
"end": "(\\*\\/)"
}
]
Expand All @@ -35,15 +35,15 @@
"patterns": [
{
"name": "constant.language.cl",
"match": "(?i)[*]\\b(IN)([0-9]{0,2})\\b"
"match": "(?i)(\\*)\\b(IN)([0-9]{0,2})\\b"
},
{
"name": "constant.numeric.cl",
"match": "(\\b[0-9]+)|([0-9]*[.][0-9]*)"
},
{
"name": "constant.language.cl",
"match": "[*][a-zA-Z][a-zA-Z0-9]*"
"match": "(\\*)[a-zA-Z][a-zA-Z0-9]*"
},
{
"name": "constant.language.cl",
Expand Down
2 changes: 2 additions & 0 deletions tests/issues/143.clle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dspobjd obj(&lib/*all) objtype(*file) output(*outfile) outfile(qtemp/objects) /* vscode comment fix */
rtvmbrd qtemp/objects nbrcurrcd(&nbrcurrcd)

0 comments on commit 9bdc51b

Please sign in to comment.