forked from OSchip/llvm-project
parent
31ab0ed37f
commit
77119f43af
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue