Skip to content

Commit 6a12de8

Browse files
committed
Fix an error (wrong syntax for variable names).
1 parent de6ffeb commit 6a12de8

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

syntaxes/asp.tmLanguage.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,46 +23,46 @@
2323
"match": "\\bnot\\b"
2424
},
2525
{
26-
"match": ":-",
27-
"name": "keyword.operator.definition.asp"
26+
"name": "keyword.operator.definition.asp",
27+
"match": ":-"
2828
},
2929
{
30-
"match": ",",
31-
"name": "punctuation.separator.and.asp"
30+
"name": "punctuation.separator.and.asp",
31+
"match": ","
3232
},
3333
{
34-
"match": ";",
35-
"name": "punctuation.separator.or.asp"
34+
"name": "punctuation.separator.or.asp",
35+
"match": ";"
3636
},
3737
{
38-
"match": "!",
39-
"name": "support.constant.cut.asp"
38+
"name": "support.constant.cut.asp",
39+
"match": "!"
4040
},
4141
{
4242
"name": "keyword.asp",
4343
"match": "(count|max|min|sum)\\b"
4444
},
4545
{
46+
"name": "support.function.asp",
4647
"comment": "Gringo functions",
47-
"match": "(maximize|minimize|show|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program)\\b",
48-
"name": "support.function.asp"
48+
"match": "#(maximize|minimize|show|hide|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program)\\b"
4949
},
5050
{
51-
"match": "[a-z][A-Za-z0-9_]*",
52-
"name": "entity.name.tag.asp"
51+
"name": "entity.name.tag.asp",
52+
"match": "[a-z][A-Za-z0-9_]*"
5353
},
5454
{
55-
"match": "[A-Z][A-Za-z0-9_]*",
56-
"name": "variable.asp"
55+
"name": "variable.asp",
56+
"match": "\\b[A-Z][A-Za-z0-9_]*"
5757
},
5858
{
59+
"name": "string.asp",
5960
"begin": "\"",
60-
"end": "\"",
61-
"name": "string.asp"
61+
"end": "\""
6262
},
6363
{
64-
"match": "0|[1-9][0-9]*",
65-
"name": "constant.numeric.asp"
64+
"name": "constant.numeric.asp",
65+
"match": "0|[1-9][0-9]*"
6666
}]
6767
}
6868
}

0 commit comments

Comments
 (0)