aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/AsmParser/Lexer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l
index 19be3dc3b4..08a3a255d6 100644
--- a/lib/AsmParser/Lexer.l
+++ b/lib/AsmParser/Lexer.l
@@ -177,8 +177,8 @@ HexFPConstant 0x[0-9A-Fa-f]+
*/
HexIntConstant [us]0x[0-9A-Fa-f]+
-/* WSNL - shorthand for newline followed by whitespace */
-WSNL [ \r\t\n]*$
+/* WSNL - shorthand for whitespace followed by newline */
+WSNL [ \r\t]*$
%%
{Comment} { /* Ignore comments for now */ }