Skip to content

Commit

Permalink
fix: allow bracket matching in macro quote (#1252)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Wu <[email protected]>
  • Loading branch information
scnwwu authored Oct 25, 2024
1 parent 4444abc commit 00ff483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions syntaxes/sas.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
"end": "'|(?=\\n)"
},
"sas-macro-quotes": {
"begin": "(?i)%(?:bquote|superq|nrbquote|nrquote|nrstr|str)",
"begin": "(?i)%(?:quote|bquote|superq|nrbquote|nrquote|nrstr|str)",
"end": "\\)|(?=\\n)",
"name": "sas.string.quoted.macro",
"name": "sas.quoted.macro",
"patterns": [
{
"include": "#sas-macro-quotes"
Expand Down
4 changes: 2 additions & 2 deletions syntaxes/sassql.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,9 @@
]
},
"sas-macro-quotes": {
"begin": "(?i)%(?:bquote|superq|nrbquote|nrquote|nrstr|str)",
"begin": "(?i)%(?:quote|bquote|superq|nrbquote|nrquote|nrstr|str)",
"end": "\\)|(?=\\n)",
"name": "sas.string.quoted.macro",
"name": "sas.quoted.macro",
"patterns": [
{
"include": "#sas-macro-quotes"
Expand Down

0 comments on commit 00ff483

Please sign in to comment.