mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-03 02:35:39 +00:00
Allow tab character after backslash line continuation
This commit is contained in:
1 parent
cbe44fed9b
commit
a9e49a09fd
1 file changed
+3
@@ -1373,6 +1373,7 @@ static std::string readString(bool raw) {
|
||||
|
||||
// Line continuation
|
||||
case ' ':
|
||||
case '\t':
|
||||
case '\r':
|
||||
case '\n':
|
||||
discardLineContinuation();
|
||||
@@ -1505,6 +1506,7 @@ static void appendStringLiteral(std::string &str, bool raw) {
|
||||
|
||||
// Line continuation
|
||||
case ' ':
|
||||
case '\t':
|
||||
case '\r':
|
||||
case '\n':
|
||||
discardLineContinuation();
|
||||
@@ -1982,6 +1984,7 @@ backslash:
|
||||
break;
|
||||
|
||||
case ' ':
|
||||
case '\t':
|
||||
case '\r':
|
||||
case '\n':
|
||||
discardLineContinuation();
|
||||
|
||||
Reference in new issue
Block a user