Skip to content

Commit

Permalink
Update generated TextMate grammar for Rascal/Pico
Browse files Browse the repository at this point in the history
  • Loading branch information
sungshik committed Sep 6, 2024
1 parent dafaa08 commit ed8b6b2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions vscode-extension/syntaxes/pico.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"end": "(\\\")",
"patterns": [
{
"match": "((?:\\\\)(?:\\\"))",
"match": "((?:\\\\)[\\\"\\\\])",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "([\\x{01}-\\!\\#-\\x{10FFFF}])",
"match": "([\\x{01}-\\!\\#-\\[\\]-\\x{10FFFF}])",
"captures": {
"1": {
"name": "string.quoted.double"
Expand Down Expand Up @@ -197,7 +197,7 @@
}
},
"/inner/single/expression.strcon": {
"match": "((?<=(?:[\\t-\\n\\r\\x{20}\\%]|(?:(?:^))))(?:(?:\\\")(?:(?:(?:\\\\)(?:\\\"))|[\\x{01}-\\!\\#-\\x{10FFFF}])*?(?:\\\")))",
"match": "((?<=(?:[\\t-\\n\\r\\x{20}\\%]|(?:(?:^))))(?:(?:\\\")(?:(?:(?:\\\\)[\\\"\\\\])|[\\x{01}-\\!\\#-\\[\\]-\\x{10FFFF}])*?(?:\\\")))",
"name": "/inner/single/expression.strcon",
"captures": {
"1": {
Expand Down
26 changes: 13 additions & 13 deletions vscode-extension/syntaxes/rascal.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,15 @@
}
},
{
"match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])",
"match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])",
"match": "((?:\\\\)a[0-7][0-9A-Fa-f])",
"captures": {
"1": {
"name": "string.quoted.double"
Expand All @@ -253,15 +253,15 @@
}
},
{
"match": "((?:\\\\)a[0-7][0-9A-Fa-f])",
"match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])",
"match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])",
"captures": {
"1": {
"name": "string.quoted.double"
Expand Down Expand Up @@ -302,39 +302,39 @@
}
},
{
"match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])",
"match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])",
"match": "((?:\\\\)a[0-7][0-9A-Fa-f])",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "((?:\\n)[\\t\\x{20}\\x{A0}\\x{1680}\\x{2000}-\\x{200A}\\x{202F}\\x{205F}\\x{3000}]*?(?:\\'))",
"match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "((?:\\\\)a[0-7][0-9A-Fa-f])",
"match": "((?:\\n)[\\t\\x{20}\\x{A0}\\x{1680}\\x{2000}-\\x{200A}\\x{202F}\\x{205F}\\x{3000}]*?(?:\\'))",
"captures": {
"1": {
"name": "string.quoted.double"
}
}
},
{
"match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])",
"match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])",
"captures": {
"1": {
"name": "string.quoted.double"
Expand Down Expand Up @@ -557,15 +557,15 @@
}
},
{
"match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])",
"match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])",
"captures": {
"1": {
"name": "string.quoted.single"
}
}
},
{
"match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])",
"match": "((?:\\\\)a[0-7][0-9A-Fa-f])",
"captures": {
"1": {
"name": "string.quoted.single"
Expand All @@ -581,15 +581,15 @@
}
},
{
"match": "((?:\\\\)a[0-7][0-9A-Fa-f])",
"match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])",
"captures": {
"1": {
"name": "string.quoted.single"
}
}
},
{
"match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])",
"match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])",
"captures": {
"1": {
"name": "string.quoted.single"
Expand Down

0 comments on commit ed8b6b2

Please sign in to comment.