summaryrefslogtreecommitdiffstats
path: root/js/src/frontend
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-18 13:34:18 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-18 13:34:18 +0100
commitbd529c60c67af685de029e2408da3d2bc6980291 (patch)
tree4410771482d5ac6239a9952cb5d15a06cd294ff0 /js/src/frontend
parentf31b04a303607cd82757e7c4f60bb536658c8a30 (diff)
downloadUXP-bd529c60c67af685de029e2408da3d2bc6980291.tar
UXP-bd529c60c67af685de029e2408da3d2bc6980291.tar.gz
UXP-bd529c60c67af685de029e2408da3d2bc6980291.tar.lz
UXP-bd529c60c67af685de029e2408da3d2bc6980291.tar.xz
UXP-bd529c60c67af685de029e2408da3d2bc6980291.zip
Revert "Issue #1284 - Implement /s (dotAll) for regular expressions."
This reverts commit f31b04a303607cd82757e7c4f60bb536658c8a30.
Diffstat (limited to 'js/src/frontend')
-rw-r--r--js/src/frontend/TokenStream.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/src/frontend/TokenStream.cpp b/js/src/frontend/TokenStream.cpp
index e07f8df8a..b8623d545 100644
--- a/js/src/frontend/TokenStream.cpp
+++ b/js/src/frontend/TokenStream.cpp
@@ -1843,8 +1843,6 @@ TokenStream::getTokenInternal(TokenKind* ttp, Modifier modifier)
reflags = RegExpFlag(reflags | StickyFlag);
else if (c == 'u' && !(reflags & UnicodeFlag))
reflags = RegExpFlag(reflags | UnicodeFlag);
- else if (c == 's' && !(reflags & DotAllFlag))
- reflags = RegExpFlag(reflags | DotAllFlag);
else
break;
getChar();