ooRexx
4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax.
![]() ![]() |
#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.7" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YY_NULL 0 |
#define | YYERROR_VERBOSE 0 |
#define | YYDEBUG 0 |
#define | YYTOKENTYPE |
#define | EXECIO 258 |
#define | HI 259 |
#define | TE 260 |
#define | TS 261 |
#define | CONSTANT 262 |
#define | DISKW 263 |
#define | DISKR 264 |
#define | STEM 265 |
#define | FINIS 266 |
#define | LIFO 267 |
#define | FIFO 268 |
#define | SKIP 269 |
#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_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 8 |
#define | YYLAST 32 |
#define | YYNTOKENS 17 |
#define | YYNNTS 7 |
#define | YYNRULES 26 |
#define | YYNSTATES 38 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 269 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -10 |
#define | YYTABLE_NINF -1 |
#define | yypact_value_is_default(Yystate) (!!((Yystate) == (-10))) |
#define | yytable_value_is_error(Yytable_value) YYID (0) |
#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 | 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 | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_INITIAL_VALUE(Value) /* Nothing. */ |
#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) |
int | yyparse () |
static void | yydestruct (yymsg, yytype, yyvaluep) const char *yymsg |
if (!yymsg) yymsg | |
switch (yytype) | |
Variables | |
YYSTYPE | yylval |
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 |
int | yynerrs |
struct { | |
const char * kw | |
int type | |
} | kwtable [] |
#define CONSTANT 262 |
Definition at line 192 of file cmdparse.cpp.
#define DISKR 264 |
Definition at line 194 of file cmdparse.cpp.
#define DISKW 263 |
Definition at line 193 of file cmdparse.cpp.
#define EXECIO 258 |
Definition at line 188 of file cmdparse.cpp.
#define FIFO 268 |
Definition at line 198 of file cmdparse.cpp.
#define FINIS 266 |
Definition at line 196 of file cmdparse.cpp.
#define HI 259 |
Definition at line 189 of file cmdparse.cpp.
#define LIFO 267 |
Definition at line 197 of file cmdparse.cpp.
#define SKIP 269 |
Definition at line 199 of file cmdparse.cpp.
#define STEM 265 |
Definition at line 195 of file cmdparse.cpp.
#define TE 260 |
Definition at line 190 of file cmdparse.cpp.
#define TS 261 |
Definition at line 191 of file cmdparse.cpp.
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 299 of file cmdparse.cpp.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 1177 of file cmdparse.cpp.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 1178 of file cmdparse.cpp.
#define YY_INITIAL_VALUE | ( | Value | ) | /* Nothing. */ |
Definition at line 1181 of file cmdparse.cpp.
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
Definition at line 703 of file cmdparse.cpp.
#define YY_NULL 0 |
Definition at line 146 of file cmdparse.cpp.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 876 of file cmdparse.cpp.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 875 of file cmdparse.cpp.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 874 of file cmdparse.cpp.
#define YYABORT goto yyabortlab |
Definition at line 658 of file cmdparse.cpp.
#define YYACCEPT goto yyacceptlab |
Definition at line 657 of file cmdparse.cpp.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYBISON 1 |
Definition at line 44 of file cmdparse.cpp.
#define YYBISON_VERSION "2.7" |
Definition at line 47 of file cmdparse.cpp.
Definition at line 653 of file cmdparse.cpp.
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
Definition at line 447 of file cmdparse.cpp.
#define YYCOPY_NEEDED 1 |
Definition at line 419 of file cmdparse.cpp.
#define YYDEBUG 0 |
Definition at line 161 of file cmdparse.cpp.
#define YYDPRINTF | ( | Args | ) |
Definition at line 873 of file cmdparse.cpp.
#define YYEMPTY (-2) |
Definition at line 654 of file cmdparse.cpp.
#define YYEOF 0 |
Definition at line 655 of file cmdparse.cpp.
#define YYERRCODE 256 |
Definition at line 698 of file cmdparse.cpp.
#define yyerrok (yyerrstatus = 0) |
Definition at line 652 of file cmdparse.cpp.
#define YYERROR goto yyerrorlab |
Definition at line 659 of file cmdparse.cpp.
#define YYERROR_VERBOSE 0 |
Definition at line 155 of file cmdparse.cpp.
#define YYFAIL goto yyerrlab |
Definition at line 669 of file cmdparse.cpp.
#define YYFINAL 8 |
Definition at line 460 of file cmdparse.cpp.
#define YYFREE free |
Definition at line 389 of file cmdparse.cpp.
#define YYID | ( | N | ) | (N) |
Definition at line 312 of file cmdparse.cpp.
#define YYINITDEPTH 200 |
Definition at line 882 of file cmdparse.cpp.
#define YYLAST 32 |
Definition at line 462 of file cmdparse.cpp.
#define YYLEX yylex () |
Definition at line 711 of file cmdparse.cpp.
#define YYMALLOC malloc |
Definition at line 382 of file cmdparse.cpp.
#define YYMAXDEPTH 10000 |
Definition at line 893 of file cmdparse.cpp.
#define YYMAXUTOK 269 |
Definition at line 475 of file cmdparse.cpp.
#define YYNNTS 7 |
Definition at line 467 of file cmdparse.cpp.
#define YYNRULES 26 |
Definition at line 469 of file cmdparse.cpp.
#define YYNSTATES 38 |
Definition at line 471 of file cmdparse.cpp.
#define YYNTOKENS 17 |
Definition at line 465 of file cmdparse.cpp.
#define YYPACT_NINF -10 |
Definition at line 601 of file cmdparse.cpp.
#define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-10))) |
Definition at line 628 of file cmdparse.cpp.
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
#define YYPULL 1 |
Definition at line 59 of file cmdparse.cpp.
#define YYPURE 0 |
Definition at line 53 of file cmdparse.cpp.
#define YYPUSH 0 |
Definition at line 56 of file cmdparse.cpp.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 677 of file cmdparse.cpp.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 289 of file cmdparse.cpp.
#define YYSIZE_T unsigned int |
Definition at line 285 of file cmdparse.cpp.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file cmdparse.cpp.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 368 of file cmdparse.cpp.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 371 of file cmdparse.cpp.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 415 of file cmdparse.cpp.
#define YYSTACK_FREE YYFREE |
Definition at line 369 of file cmdparse.cpp.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 411 of file cmdparse.cpp.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 426 of file cmdparse.cpp.
#define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
Definition at line 217 of file cmdparse.cpp.
#define YYSTYPE_IS_DECLARED 1 |
Definition at line 218 of file cmdparse.cpp.
#define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 216 of file cmdparse.cpp.
#define YYTABLE_NINF -1 |
Definition at line 619 of file cmdparse.cpp.
#define yytable_value_is_error | ( | Yytable_value | ) | YYID (0) |
Definition at line 631 of file cmdparse.cpp.
#define YYTERROR 1 |
Definition at line 697 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 477 of file cmdparse.cpp.
#define YYUNDEFTOK 2 |
Definition at line 474 of file cmdparse.cpp.
#define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 305 of file cmdparse.cpp.
typedef short int yytype_int16 |
Definition at line 272 of file cmdparse.cpp.
typedef short int yytype_int8 |
Definition at line 260 of file cmdparse.cpp.
typedef unsigned short int yytype_uint16 |
Definition at line 266 of file cmdparse.cpp.
typedef unsigned char yytype_uint8 |
Definition at line 251 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 2020 of file cmdparse.cpp.
Referenced by yyparse().
int kwsearch | ( | char * | token | ) |
switch | ( | yytype | ) |
Definition at line 1161 of file cmdparse.cpp.
void yyerror | ( | char * | token | ) |
Definition at line 1947 of file cmdparse.cpp.
Referenced by yyparse().
int yylex | ( | void | ) |
Definition at line 1867 of file cmdparse.cpp.
References CONSTANT, kwsearch(), lCmdPtr, prxCmd, pszSymbol, YYSTYPE::strval, SYMTABLESIZE, ulNumSym, and yylval.
int yyparse | ( | void | ) |
Definition at line 1212 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, TE_STMT, TS_STMT, YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, 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_value_is_default, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yytable, yytable_value_is_error, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
Referenced by GrxHost().
const char* kw |
Definition at line 1964 of file cmdparse.cpp.
Referenced by kwsearch().
struct { ... } kwtable[] |
Referenced by kwsearch().
int type |
Definition at line 1965 of file cmdparse.cpp.
Referenced by builtin_function_DATATYPE(), RexxSource::classDirective(), RexxActivation::createStackFrame(), RexxNumberString::d2xD2c(), RexxString::dataType(), LocalRegistrationManager::dropCallback(), RexxInstructionCall::execute(), RexxSource::flushControl(), RexxVariableDictionary::getVariableRetriever(), RexxSource::ifNew(), StreamInfo::implicitOpen(), RexxHashTable::insert(), RexxSource::instructionNew(), RexxInstruction::isType(), 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(), RexxRoutine1(), RexxRoutine3(), RexxStemSort(), RexxActivation::setCallType(), RexxInstructionEnd::setStyle(), RexxInstruction::setType(), RexxStemVariable::sort(), RexxStem::sort(), RexxSource::sourceNextToken(), RexxNativeActivation::stemSort(), RexxSource::translateBlock(), and RexxString::x2dC2d().
int yychar |
Definition at line 1173 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 634 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 585 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 594 of file cmdparse.cpp.
Referenced by yyparse().
YYSTYPE yylval |
Definition at line 1185 of file cmdparse.cpp.
int yynerrs |
Definition at line 1188 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 602 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 611 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 567 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 575 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 644 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 620 of file cmdparse.cpp.
Referenced by yyparse().
|
static |
Definition at line 481 of file cmdparse.cpp.
int yytype |
Definition at line 1151 of file cmdparse.cpp.
YYSTYPE* yyvaluep |
Definition at line 1152 of file cmdparse.cpp.