[llvm-commits] [llvm] r40612 - /llvm/trunk/lib/AsmParser/Lexer.l
Reid Spencer
rspencer at reidspencer.com
Mon Jul 30 20:55:44 PDT 2007
Author: reid
Date: Mon Jul 30 22:55:43 2007
New Revision: 40612
URL: http://llvm.org/viewvc/llvm-project?rev=40612&view=rev
Log:
Don't include newlines in the whitespace before newline (WSNL) rule.
Fix the comment for WSNL to describe its actual function.
Modified:
llvm/trunk/lib/AsmParser/Lexer.l
Modified: llvm/trunk/lib/AsmParser/Lexer.l
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/Lexer.l?rev=40612&r1=40611&r2=40612&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/Lexer.l (original)
+++ llvm/trunk/lib/AsmParser/Lexer.l Mon Jul 30 22:55:43 2007
@@ -177,8 +177,8 @@
*/
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 */ }
More information about the llvm-commits
mailing list