1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Do not allow empty label names.

llvm-svn: 18743
This commit is contained in:
Alkis Evlogimenos 2004-12-10 05:40:19 +00:00
parent a278cc5593
commit 189fdf11db

View File

@ -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 \"[^\"]*\"