mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 04:34:41 +00:00
Reverting unnecessary commit of generated files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b2b9402c5
commit
774577c1f9
@ -502,7 +502,7 @@ goto find_rule; \
|
|||||||
#define YY_MORE_ADJ 0
|
#define YY_MORE_ADJ 0
|
||||||
#define YY_RESTORE_YY_MORE_OFFSET
|
#define YY_RESTORE_YY_MORE_OFFSET
|
||||||
char *yytext;
|
char *yytext;
|
||||||
#line 1 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 1 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
#define INITIAL 0
|
#define INITIAL 0
|
||||||
/*===-- FileLexer.l - Scanner for TableGen Files ----------------*- C++ -*-===//
|
/*===-- FileLexer.l - Scanner for TableGen Files ----------------*- C++ -*-===//
|
||||||
//
|
//
|
||||||
@ -518,9 +518,9 @@ char *yytext;
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===*/
|
//===----------------------------------------------------------------------===*/
|
||||||
#define YY_NEVER_INTERACTIVE 1
|
#define YY_NEVER_INTERACTIVE 1
|
||||||
#define in_comment 1
|
#define comment 1
|
||||||
|
|
||||||
#line 30 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 30 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
#include "llvm/Config/config.h"
|
#include "llvm/Config/config.h"
|
||||||
#include "llvm/Support/Streams.h"
|
#include "llvm/Support/Streams.h"
|
||||||
#include "Record.h"
|
#include "Record.h"
|
||||||
@ -817,7 +817,7 @@ YY_DECL
|
|||||||
register char *yy_cp, *yy_bp;
|
register char *yy_cp, *yy_bp;
|
||||||
register int yy_act;
|
register int yy_act;
|
||||||
|
|
||||||
#line 185 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 185 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
|
|
||||||
|
|
||||||
#line 824 "Lexer.cpp"
|
#line 824 "Lexer.cpp"
|
||||||
@ -913,185 +913,185 @@ do_action: /* This label is used only to access EOF actions. */
|
|||||||
{ /* beginning of action switch */
|
{ /* beginning of action switch */
|
||||||
case 1:
|
case 1:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 187 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 187 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ /* Ignore comments */ }
|
{ /* Ignore comments */ }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 2:
|
case 2:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 189 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 189 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ HandleInclude(yytext); }
|
{ HandleInclude(yytext); }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 3:
|
case 3:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 190 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 190 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ Filelval.StrVal = new std::string(yytext+2, yytext+yyleng-2);
|
{ Filelval.StrVal = new std::string(yytext+2, yytext+yyleng-2);
|
||||||
return CODEFRAGMENT; }
|
return CODEFRAGMENT; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 4:
|
case 4:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 193 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 193 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return INT; }
|
{ return INT; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 5:
|
case 5:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 194 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 194 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return BIT; }
|
{ return BIT; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 6:
|
case 6:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 195 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 195 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return BITS; }
|
{ return BITS; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 7:
|
case 7:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 196 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 196 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return STRING; }
|
{ return STRING; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 8:
|
case 8:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 197 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 197 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return LIST; }
|
{ return LIST; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 9:
|
case 9:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 198 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 198 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return CODE; }
|
{ return CODE; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 10:
|
case 10:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 199 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 199 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return DAG; }
|
{ return DAG; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 11:
|
case 11:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 201 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 201 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return CLASS; }
|
{ return CLASS; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 12:
|
case 12:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 202 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 202 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return DEF; }
|
{ return DEF; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 13:
|
case 13:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 203 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 203 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return DEFM; }
|
{ return DEFM; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 14:
|
case 14:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 204 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 204 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return MULTICLASS; }
|
{ return MULTICLASS; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 15:
|
case 15:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 205 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 205 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return FIELD; }
|
{ return FIELD; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 16:
|
case 16:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 206 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 206 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return LET; }
|
{ return LET; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 17:
|
case 17:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 207 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 207 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return IN; }
|
{ return IN; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 18:
|
case 18:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 209 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 209 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return CONCATTOK; }
|
{ return CONCATTOK; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 19:
|
case 19:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 210 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 210 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return SRATOK; }
|
{ return SRATOK; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 20:
|
case 20:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 211 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 211 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return SRLTOK; }
|
{ return SRLTOK; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 21:
|
case 21:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 212 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 212 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return SHLTOK; }
|
{ return SHLTOK; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 22:
|
case 22:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 213 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 213 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return STRCONCATTOK; }
|
{ return STRCONCATTOK; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 23:
|
case 23:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 216 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 216 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ Filelval.StrVal = new std::string(yytext, yytext+yyleng);
|
{ Filelval.StrVal = new std::string(yytext, yytext+yyleng);
|
||||||
return ID; }
|
return ID; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 24:
|
case 24:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 218 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 218 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ Filelval.StrVal = new std::string(yytext+1, yytext+yyleng);
|
{ Filelval.StrVal = new std::string(yytext+1, yytext+yyleng);
|
||||||
return VARNAME; }
|
return VARNAME; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 25:
|
case 25:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 221 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 221 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ Filelval.StrVal = new std::string(yytext+1, yytext+yyleng-1);
|
{ Filelval.StrVal = new std::string(yytext+1, yytext+yyleng-1);
|
||||||
return STRVAL; }
|
return STRVAL; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 26:
|
case 26:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 224 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 224 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ Filelval.IntVal = ParseInt(Filetext); return INTVAL; }
|
{ Filelval.IntVal = ParseInt(Filetext); return INTVAL; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 27:
|
case 27:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 226 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 226 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ /* Ignore whitespace */ }
|
{ /* Ignore whitespace */ }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 28:
|
case 28:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 229 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 229 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ BEGIN(in_comment); CommentDepth++; }
|
{ BEGIN(comment); CommentDepth++; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 29:
|
case 29:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 230 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 230 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{} /* eat anything that's not a '*' or '/' */
|
{} /* eat anything that's not a '*' or '/' */
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 30:
|
case 30:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 231 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 231 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{} /* eat up '*'s not followed by '/'s */
|
{} /* eat up '*'s not followed by '/'s */
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 31:
|
case 31:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 232 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 232 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ ++CommentDepth; }
|
{ ++CommentDepth; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 32:
|
case 32:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 233 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 233 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{} /* eat up /'s not followed by *'s */
|
{} /* eat up /'s not followed by *'s */
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 33:
|
case 33:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 234 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 234 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ if (!--CommentDepth) { BEGIN(INITIAL); } }
|
{ if (!--CommentDepth) { BEGIN(INITIAL); } }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case YY_STATE_EOF(in_comment):
|
case YY_STATE_EOF(comment):
|
||||||
#line 235 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 235 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ err() << "Unterminated comment!\n"; exit(1); }
|
{ err() << "Unterminated comment!\n"; exit(1); }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 34:
|
case 34:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 237 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 237 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
{ return Filetext[0]; }
|
{ return Filetext[0]; }
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
case 35:
|
case 35:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 239 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 239 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
YY_FATAL_ERROR( "flex scanner jammed" );
|
YY_FATAL_ERROR( "flex scanner jammed" );
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
#line 1098 "Lexer.cpp"
|
#line 1098 "Lexer.cpp"
|
||||||
@ -1978,6 +1978,6 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#line 239 "/Users/malichus/Source/llvm/src/llvm/utils/TableGen/FileLexer.l"
|
#line 239 "/Volumes/ProjectsDisk/cvs/llvm/utils/TableGen/FileLexer.l"
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
%option noreject
|
%option noreject
|
||||||
%option noyymore
|
%option noyymore
|
||||||
|
|
||||||
%x in_comment
|
%x comment
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "llvm/Config/config.h"
|
#include "llvm/Config/config.h"
|
||||||
@ -226,13 +226,13 @@ ${Identifier} { Filelval.StrVal = new std::string(yytext+1, yytext+yyleng);
|
|||||||
[ \t\n\r]+ { /* Ignore whitespace */ }
|
[ \t\n\r]+ { /* Ignore whitespace */ }
|
||||||
|
|
||||||
|
|
||||||
"/*" { BEGIN(in_comment); CommentDepth++; }
|
"/*" { BEGIN(comment); CommentDepth++; }
|
||||||
<in_comment>[^*/]* {} /* eat anything that's not a '*' or '/' */
|
<comment>[^*/]* {} /* eat anything that's not a '*' or '/' */
|
||||||
<in_comment>"*"+[^*/]* {} /* eat up '*'s not followed by '/'s */
|
<comment>"*"+[^*/]* {} /* eat up '*'s not followed by '/'s */
|
||||||
<in_comment>"/*" { ++CommentDepth; }
|
<comment>"/*" { ++CommentDepth; }
|
||||||
<in_comment>"/"+[^*/]* {} /* eat up /'s not followed by *'s */
|
<comment>"/"+[^*/]* {} /* eat up /'s not followed by *'s */
|
||||||
<in_comment>"*"+"/" { if (!--CommentDepth) { BEGIN(INITIAL); } }
|
<comment>"*"+"/" { if (!--CommentDepth) { BEGIN(INITIAL); } }
|
||||||
<in_comment><<EOF>> { err() << "Unterminated comment!\n"; exit(1); }
|
<comment><<EOF>> { err() << "Unterminated comment!\n"; exit(1); }
|
||||||
|
|
||||||
. { return Filetext[0]; }
|
. { return Filetext[0]; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user