aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Scanner.cpp')
-rw-r--r--Scanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Scanner.cpp b/Scanner.cpp
index 890d6949..69b61ce4 100644
--- a/Scanner.cpp
+++ b/Scanner.cpp
@@ -80,7 +80,7 @@ bool isLineTerminator(char c)
}
bool isWhiteSpace(char c)
{
- return c == ' ' || c == '\n' || c == '\t';
+ return c == ' ' || c == '\n' || c == '\t' || c == '\r';
}
bool isIdentifierStart(char c)
{