projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b8f8505
)
Don't include newlines in the whitespace before newline (WSNL) rule.
author
Reid Spencer
<rspencer@reidspencer.com>
Tue, 31 Jul 2007 03:55:43 +0000
(
03:55
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Tue, 31 Jul 2007 03:55:43 +0000
(
03:55
+0000)
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
lib/AsmParser/Lexer.l
patch
|
blob
|
history
diff --git
a/lib/AsmParser/Lexer.l
b/lib/AsmParser/Lexer.l
index 19be3dc3b4961629a0986b95178ef21bb0596672..08a3a255d607012b723e46b77cea45effa5e7071 100644
(file)
--- 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 whitespac
e */
-WSNL [ \r\t
\n
]*$
+/* WSNL - shorthand for
whitespace followed by newlin
e */
+WSNL [ \r\t]*$
%%
{Comment} { /* Ignore comments for now */ }