1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

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

Fix the comment for WSNL to describe its actual function.

llvm-svn: 40612
This commit is contained in:
Reid Spencer 2007-07-31 03:55:43 +00:00
parent 1d951c9803
commit 15d4188166

View File

@ -177,8 +177,8 @@ HexFPConstant 0x[0-9A-Fa-f]+
*/ */
HexIntConstant [us]0x[0-9A-Fa-f]+ HexIntConstant [us]0x[0-9A-Fa-f]+
/* WSNL - shorthand for newline followed by whitespace */ /* WSNL - shorthand for whitespace followed by newline */
WSNL [ \r\t\n]*$ WSNL [ \r\t]*$
%% %%
{Comment} { /* Ignore comments for now */ } {Comment} { /* Ignore comments for now */ }