Skip to content

Commit

Permalink
Triple single quote strings aren't illegal
Browse files Browse the repository at this point in the history
  • Loading branch information
DaelonSuzuka committed Dec 2, 2023
1 parent 226aa7d commit 37f1b29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions syntaxes/GDScript.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@
}
]
},
{
"name": "invalid.illegal.escape.gdscript",
"begin": "'''",
"end": "'''"
},
{
"begin": "(r)?\"\"\"",
"end": "\"\"\"",
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/examples/gdscript1.gd
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var r = 'single quotes'
var s = """
triple double quotes
"""
var t = '''triple single quotes''' # this should be red because it's invalid
var t = '''triple single quotes'''

# ------------------------------------------------------------------------------

Expand Down

0 comments on commit 37f1b29

Please sign in to comment.