#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <rexx.h>
#include "hostemu.h"
Go to the source code of this file.
Classes | |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.4.1" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYLSP_NEEDED 0 |
#define | YYDEBUG 0 |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKEN_TABLE 0 |
#define | YYTOKENTYPE |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYFINAL 8 |
#define | YYLAST 60 |
#define | YYNTOKENS 18 |
#define | YYNNTS 11 |
#define | YYNRULES 42 |
#define | YYNSTATES 51 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 269 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -30 |
#define | YYTABLE_NINF -1 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex () |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef union YYSTYPE | YYSTYPE |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { EXECIO = 258 , HI = 259 , TE = 260 , TS = 261 , CONSTANT = 262 , DISKW = 263 , DISKR = 264 , STEM = 265 , FINIS = 266 , LIFO = 267 , FIFO = 268 , SKIP = 269 } |
Functions | |
int | yylex (void) |
void | yyerror (char *token) |
int | kwsearch (char *token) |
bool | isnumeric (char *token) |
static void | yydestruct (yymsg, yytype, yyvaluep) const char *yymsg |
if (!yymsg) yymsg | |
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp) | |
switch (yytype) | |
int | yyparse () |
Variables | |
static const yytype_uint8 | yytranslate [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_uint8 | yyr2 [] |
static const yytype_uint8 | yydefact [] |
static const yytype_int8 | yydefgoto [] |
static const yytype_int8 | yypact [] |
static const yytype_int8 | yypgoto [] |
static const yytype_uint8 | yytable [] |
static const yytype_int8 | yycheck [] |
static const yytype_uint8 | yystos [] |
int | yytype |
YYSTYPE * | yyvaluep |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
struct { | |
const char * kw | |
int type | |
} | kwtable [] |
#define YY_ | ( | msgid | ) | msgid |
Definition at line 272 of file cmdparse.cpp.
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
Definition at line 718 of file cmdparse.cpp.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 891 of file cmdparse.cpp.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 890 of file cmdparse.cpp.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 889 of file cmdparse.cpp.
#define YYABORT goto yyabortlab |
Definition at line 647 of file cmdparse.cpp.
#define YYACCEPT goto yyacceptlab |
Definition at line 646 of file cmdparse.cpp.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 659 of file cmdparse.cpp.
#define YYBISON 1 |
Definition at line 46 of file cmdparse.cpp.
#define YYBISON_VERSION "2.4.1" |
Definition at line 49 of file cmdparse.cpp.
Definition at line 642 of file cmdparse.cpp.
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
Definition at line 398 of file cmdparse.cpp.
#define YYDEBUG 0 |
Definition at line 150 of file cmdparse.cpp.
#define YYDPRINTF | ( | Args | ) |
Definition at line 888 of file cmdparse.cpp.
#define YYEMPTY (-2) |
Definition at line 643 of file cmdparse.cpp.
#define YYEOF 0 |
Definition at line 644 of file cmdparse.cpp.
#define YYERRCODE 256 |
Definition at line 678 of file cmdparse.cpp.
#define yyerrok (yyerrstatus = 0) |
Definition at line 641 of file cmdparse.cpp.
#define YYERROR goto yyerrorlab |
Definition at line 648 of file cmdparse.cpp.
#define YYERROR_VERBOSE 0 |
Definition at line 158 of file cmdparse.cpp.
#define YYFAIL goto yyerrlab |
Definition at line 655 of file cmdparse.cpp.
#define YYFINAL 8 |
Definition at line 428 of file cmdparse.cpp.
#define YYFREE free |
Definition at line 361 of file cmdparse.cpp.
#define YYID | ( | n | ) | (n) |
Definition at line 285 of file cmdparse.cpp.
#define YYINITDEPTH 200 |
Definition at line 897 of file cmdparse.cpp.
#define YYLAST 60 |
Definition at line 430 of file cmdparse.cpp.
#define YYLEX yylex () |
Definition at line 728 of file cmdparse.cpp.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 687 of file cmdparse.cpp.
#define YYLSP_NEEDED 0 |
Definition at line 64 of file cmdparse.cpp.
#define YYMALLOC malloc |
Definition at line 354 of file cmdparse.cpp.
#define YYMAXDEPTH 10000 |
Definition at line 908 of file cmdparse.cpp.
#define YYMAXUTOK 269 |
Definition at line 443 of file cmdparse.cpp.
#define YYNNTS 11 |
Definition at line 435 of file cmdparse.cpp.
#define YYNRULES 42 |
Definition at line 437 of file cmdparse.cpp.
#define YYNSTATES 51 |
Definition at line 439 of file cmdparse.cpp.
#define YYNTOKENS 18 |
Definition at line 433 of file cmdparse.cpp.
#define YYPACT_NINF -30 |
Definition at line 584 of file cmdparse.cpp.
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
#define YYPULL 1 |
Definition at line 61 of file cmdparse.cpp.
#define YYPURE 0 |
Definition at line 55 of file cmdparse.cpp.
#define YYPUSH 0 |
Definition at line 58 of file cmdparse.cpp.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 657 of file cmdparse.cpp.
#define YYRHSLOC | ( | Rhs, | |
K | |||
) | ((Rhs)[K]) |
Definition at line 685 of file cmdparse.cpp.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 262 of file cmdparse.cpp.
#define YYSIZE_T unsigned int |
Definition at line 258 of file cmdparse.cpp.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 52 of file cmdparse.cpp.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 340 of file cmdparse.cpp.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 343 of file cmdparse.cpp.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 387 of file cmdparse.cpp.
#define YYSTACK_FREE YYFREE |
Definition at line 341 of file cmdparse.cpp.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 383 of file cmdparse.cpp.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 414 of file cmdparse.cpp.
#define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
Definition at line 206 of file cmdparse.cpp.
#define YYSTYPE_IS_DECLARED 1 |
Definition at line 207 of file cmdparse.cpp.
#define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 205 of file cmdparse.cpp.
#define YYTABLE_NINF -1 |
Definition at line 606 of file cmdparse.cpp.
#define YYTERROR 1 |
Definition at line 677 of file cmdparse.cpp.
#define YYTOKEN_TABLE 0 |
Definition at line 163 of file cmdparse.cpp.
#define YYTOKENTYPE |
Definition at line 169 of file cmdparse.cpp.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 445 of file cmdparse.cpp.
#define YYUNDEFTOK 2 |
Definition at line 442 of file cmdparse.cpp.
#define YYUSE | ( | e | ) | ((void) (e)) |
Definition at line 278 of file cmdparse.cpp.
typedef short int yytype_int16 |
Definition at line 245 of file cmdparse.cpp.
typedef short int yytype_int8 |
Definition at line 233 of file cmdparse.cpp.
typedef unsigned short int yytype_uint16 |
Definition at line 239 of file cmdparse.cpp.
typedef unsigned char yytype_uint8 |
Definition at line 224 of file cmdparse.cpp.
enum yytokentype |
Enumerator | |
---|---|
EXECIO | |
HI | |
TE | |
TS | |
CONSTANT | |
DISKW | |
DISKR | |
STEM | |
FINIS | |
LIFO | |
FIFO | |
SKIP |
Definition at line 172 of file cmdparse.cpp.
if | ( | ! | yymsg | ) |
bool isnumeric | ( | char * | token | ) |
Definition at line 1943 of file cmdparse.cpp.
Referenced by yyparse().
int kwsearch | ( | char * | token | ) |
switch | ( | yytype | ) |
Definition at line 1147 of file cmdparse.cpp.
void yyerror | ( | char * | token | ) |
Definition at line 1870 of file cmdparse.cpp.
Referenced by yyparse().
int yylex | ( | void | ) |
Definition at line 1790 of file cmdparse.cpp.
References CONSTANT, kwsearch(), lCmdPtr, prxCmd, pszSymbol, YYSTYPE::strval, SYMTABLESIZE, ulNumSym, and yylval.
int yyparse | ( | void | ) |
Definition at line 1203 of file cmdparse.cpp.
References _EXECIO_OPTIONS::aFilename, _EXECIO_OPTIONS::aStem, ExecIO_Options, EXECIO_STMT, _EXECIO_OPTIONS::fFinis, _EXECIO_OPTIONS::fRW, HI_STMT, isnumeric(), _EXECIO_OPTIONS::lDirection, _EXECIO_OPTIONS::lRcdCnt, _EXECIO_OPTIONS::lStartRcd, lStmtType, YYSTYPE::strval, TE_STMT, TS_STMT, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror(), YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yytable, YYTABLE_NINF, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
Referenced by GrxHost().
const char* kw |
Definition at line 1887 of file cmdparse.cpp.
Referenced by kwsearch().
kwtable[] { ... } struct |
int type |
Definition at line 1888 of file cmdparse.cpp.
Referenced by BUILTIN(), RexxSource::classDirective(), RexxActivation::createStackFrame(), RexxNumberString::d2xD2c(), RexxString::dataType(), LocalRegistrationManager::dropCallback(), RexxInstructionCall::execute(), RexxSource::extensionDirective(), RexxSource::flushControl(), RexxVariableDictionary::getVariableRetriever(), RexxSource::ifNew(), StreamInfo::implicitOpen(), RexxHashTable::insert(), RexxSource::instructionNew(), isAtLeastVersion(), isGoodEventType(), RexxInstruction::isType(), isWindowsVersion(), RexxSource::leaveNew(), LocalRegistrationManager::locateTable(), RexxHashTable::newInstance(), RexxMemory::newObject(), RexxSource::numericNew(), RexxMemory::objectReferenceOK(), options_error(), RexxSource::packLiteral(), ObjectStats::printStats(), RexxNativeActivation::processArguments(), RexxSource::processVariableList(), LocalRegistrationManager::queryCallback(), RexxSource::queueNew(), LocalRegistrationManager::registerCallback(), LocalRegistrationManager::resolveCallback(), RexxInstruction::RexxInstruction(), RexxInstructionNumeric::RexxInstructionNumeric(), RexxInstructionQueue::RexxInstructionQueue(), RexxMethod7(), RexxRoutine1(), RexxRoutine3(), RexxStemSort(), RexxActivation::setCallType(), RexxInstruction::setType(), RexxStemVariable::sort(), RexxStem::sort(), RexxSource::sourceNextToken(), RexxNativeActivation::stemSort(), RexxSource::translateBlock(), and RexxString::x2dC2d().
int yychar |
Definition at line 1172 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 618 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 565 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 576 of file cmdparse.cpp.
Referenced by yyparse().
YYSTYPE yylval |
Definition at line 1175 of file cmdparse.cpp.
int yynerrs |
Definition at line 1178 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 585 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 596 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 543 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 553 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 631 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 607 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 449 of file cmdparse.cpp.
int yytype |
Definition at line 1137 of file cmdparse.cpp.
YYSTYPE* yyvaluep |
Definition at line 1138 of file cmdparse.cpp.