aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/AsmParser/Lexer.cpp.cvs2
-rw-r--r--lib/AsmParser/Lexer.l2
-rw-r--r--lib/AsmParser/Lexer.l.cvs2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/AsmParser/Lexer.cpp.cvs b/lib/AsmParser/Lexer.cpp.cvs
index dbe95d724c..c525f28553 100644
--- a/lib/AsmParser/Lexer.cpp.cvs
+++ b/lib/AsmParser/Lexer.cpp.cvs
@@ -1946,7 +1946,7 @@ YY_RULE_SETUP
#line 361 "/Users/sabre/cvs/llvm/lib/AsmParser/Lexer.l"
{
yytext[strlen(yytext)-1] = 0; // nuke end quote
- llvmAsmlval.StrVal = strdup(yytext+2); // Nuke @, quote
+ llvmAsmlval.StrVal = strdup(yytext+2); // Nuke %, quote
return PCTSTRINGCONSTANT;
}
YY_BREAK
diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l
index ed1f6bf457..997b620529 100644
--- a/lib/AsmParser/Lexer.l
+++ b/lib/AsmParser/Lexer.l
@@ -360,7 +360,7 @@ shufflevector { RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); }
{PctStringConstant} {
yytext[strlen(yytext)-1] = 0; // nuke end quote
- llvmAsmlval.StrVal = strdup(yytext+2); // Nuke @, quote
+ llvmAsmlval.StrVal = strdup(yytext+2); // Nuke %, quote
return PCTSTRINGCONSTANT;
}
{PInteger} { int len = strlen(yytext);
diff --git a/lib/AsmParser/Lexer.l.cvs b/lib/AsmParser/Lexer.l.cvs
index ed1f6bf457..997b620529 100644
--- a/lib/AsmParser/Lexer.l.cvs
+++ b/lib/AsmParser/Lexer.l.cvs
@@ -360,7 +360,7 @@ shufflevector { RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); }
{PctStringConstant} {
yytext[strlen(yytext)-1] = 0; // nuke end quote
- llvmAsmlval.StrVal = strdup(yytext+2); // Nuke @, quote
+ llvmAsmlval.StrVal = strdup(yytext+2); // Nuke %, quote
return PCTSTRINGCONSTANT;
}
{PInteger} { int len = strlen(yytext);