[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Dec 9 21:40:30 PST 2004
Changes in directory llvm/lib/AsmParser:
Lexer.l updated: 1.56 -> 1.57
---
Log message:
Do not allow empty label names.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.56 llvm/lib/AsmParser/Lexer.l:1.57
--- llvm/lib/AsmParser/Lexer.l:1.56 Thu Dec 9 23:27:29 2004
+++ llvm/lib/AsmParser/Lexer.l Thu Dec 9 23:40:19 2004
@@ -139,7 +139,7 @@
/* Label identifiers end with a colon */
Label [-a-zA-Z$._0-9]+:
-QuoteLabel \"[^\"]*\":
+QuoteLabel \"[^\"]+\":
/* Quoted names can contain any character except " and \ */
StringConstant \"[^\"]*\"
More information about the llvm-commits
mailing list