Don't include newlines in the whitespace before newline (WSNL) rule.

Fix the comment for WSNL to describe its actual function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-07-31 03:55:43 +00:00
parent b8f85050d1
commit 6794e616c7

View File

@ -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 */ }