projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cfbdf8
)
Do not allow empty label names.
author
Alkis Evlogimenos
<alkis@evlogimenos.com>
Fri, 10 Dec 2004 05:40:19 +0000
(
05:40
+0000)
committer
Alkis Evlogimenos
<alkis@evlogimenos.com>
Fri, 10 Dec 2004 05:40:19 +0000
(
05:40
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18743
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 da875be34bd7b859df585670a86016e5c1aa2cd2..e39d224f0ceb806ef491bc68d8f8fc01ce5a36ed 100644
(file)
--- a/
lib/AsmParser/Lexer.l
+++ b/
lib/AsmParser/Lexer.l
@@
-139,7
+139,7
@@
VarID %[-a-zA-Z$._][-a-zA-Z$._0-9]*
/* Label identifiers end with a colon */
Label [-a-zA-Z$._0-9]+:
-QuoteLabel \"[^\"]
*
\":
+QuoteLabel \"[^\"]
+
\":
/* Quoted names can contain any character except " and \ */
StringConstant \"[^\"]*\"