This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 87b4736da8787c1718352e759a61e0f45d18f97c Author: Josh Tynjala <[email protected]> AuthorDate: Mon Nov 28 12:44:32 2022 -0800 RawASTokenizer: verbatim strings should include backslashes instead of omitting them (references #222) --- .../org/apache/royale/compiler/internal/parsing/as/RawASTokenizer.lex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/as/RawASTokenizer.lex b/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/as/RawASTokenizer.lex index 580c8739d..907354eda 100644 --- a/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/as/RawASTokenizer.lex +++ b/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/as/RawASTokenizer.lex @@ -347,6 +347,10 @@ REGEX_CLASS="[" ({REGEX_ESCAPE}|[^\n\r\]\\])* "]" { yybegin(ESCAPE_SEQUENCE); } + else + { + continueAggregate(); + } } <STRINGLITERAL> {LINE_TERMINATOR}+
