GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Typedefs | Functions | Variables
oct-parse.cc File Reference
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <sstream>
#include "Cell.h"
#include "Matrix.h"
#include "cmd-edit.h"
#include "cmd-hist.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "quit.h"
#include "comment-list.h"
#include "defaults.h"
#include "defun.h"
#include "dirfns.h"
#include "dynamic-ld.h"
#include "error.h"
#include "input.h"
#include "lex.h"
#include "load-path.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "ov-classdef.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "ov-null-mat.h"
#include "toplev.h"
#include "pager.h"
#include "parse.h"
#include "pt-all.h"
#include "pt-eval.h"
#include "pt-funcall.h"
#include "symtab.h"
#include "token.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include <oct-parse.h>
#include <stddef.h>
Include dependency graph for oct-parse.cc:

Go to the source code of this file.

Classes

struct  octave_pstate
 
union  yyalloc
 

Macros

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))
 
#define ABORT_PARSE
 
#define ADD_EQ   258
 
#define AND_EQ   268
 
#define BREAK   315
 
#define CASE   313
 
#define CATCH   321
 
#define CLASSDEF   325
 
#define CLEANUP   319
 
#define CONTINUE   316
 
#define DIV_EQ   261
 
#define DO   307
 
#define DQ_STRING   302
 
#define EDIV   287
 
#define EDIV_EQ   265
 
#define ELEFTDIV   288
 
#define ELEFTDIV_EQ   266
 
#define ELSE   311
 
#define ELSEIF   310
 
#define EMINUS   290
 
#define EMUL   286
 
#define EMUL_EQ   264
 
#define END   301
 
#define END_OF_INPUT   336
 
#define ENUMERATION   329
 
#define EPLUS   289
 
#define EPOW   296
 
#define EPOW_EQ   267
 
#define EVENTS   328
 
#define EXPR_AND   276
 
#define EXPR_AND_AND   274
 
#define EXPR_EQ   281
 
#define EXPR_GE   283
 
#define EXPR_GT   284
 
#define EXPR_LE   280
 
#define EXPR_LT   279
 
#define EXPR_NE   282
 
#define EXPR_NOT   278
 
#define EXPR_OR   277
 
#define EXPR_OR_OR   275
 
#define FCN   335
 
#define FCN_HANDLE   324
 
#define FOR   304
 
#define FQ_IDENT   332
 
#define FUNC_RET   317
 
#define GET   333
 
#define GLOBAL   322
 
#define HERMITIAN   291
 
#define IF   309
 
#define IMAG_NUM   298
 
#define INPUT_FILE   338
 
#define LEFTDIV   285
 
#define LEFTDIV_EQ   262
 
#define lexer   parser.lexer
 
#define LEXICAL_ERROR   337
 
#define LSHIFT   272
 
#define LSHIFT_EQ   270
 
#define METAQUERY   330
 
#define METHODS   327
 
#define MINUS_MINUS   294
 
#define MUL_EQ   260
 
#define NAME   300
 
#define NUM   297
 
#define octave_nerrs   yyps->octave_nerrs
 
#define OR_EQ   269
 
#define OTHERWISE   314
 
#define PARFOR   305
 
#define PERSISTENT   323
 
#define PLUS_PLUS   293
 
#define POW   295
 
#define POW_EQ   263
 
#define PROPERTIES   326
 
#define RSHIFT   273
 
#define RSHIFT_EQ   271
 
#define scanner   lexer.scanner
 
#define SET   334
 
#define SQ_STRING   303
 
#define STRUCT_ELT   299
 
#define SUB_EQ   259
 
#define SUPERCLASSREF   331
 
#define SWITCH   312
 
#define TRANSPOSE   292
 
#define TRY   320
 
#define UNARY   339
 
#define UNTIL   308
 
#define UNWIND   318
 
#define WHILE   306
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_NULLPTR   0
 
#define YY_OCTAVE_PARSE_TREE_OCT_PARSE_H_INCLUDED
 
#define YY_REDUCE_PRINT(Rule)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YYABORT   goto yyabortlab
 
#define YYACCEPT   goto yyacceptlab
 
#define YYBACKUP(Token, Value)
 
#define YYBISON   1
 
#define YYBISON_VERSION   "3.0.2"
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYCOPY_NEEDED   1
 
#define yydebug   octave_debug
 
#define YYDEBUG   1
 
#define YYDPRINTF(Args)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYERRCODE   256
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyerror   octave_error
 
#define YYERROR   goto yyerrorlab
 
#define YYERROR_VERBOSE   0
 
#define yyerrstatus   yyps->yyerrstatus
 
#define YYFINAL   110
 
#define YYFREE   free
 
#define YYINITDEPTH   200
 
#define YYLAST   1478
 
#define yylex   octave_lex
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   339
 
#define yynerrs   octave_nerrs
 
#define YYNNTS   105
 
#define YYNRULES   282
 
#define YYNSTATES   524
 
#define YYNTOKENS   102
 
#define YYPACT_NINF   -421
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-421)))
 
#define yyparse   octave_parse
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define yypstate   octave_pstate
 
#define yypstate_delete   octave_pstate_delete
 
#define yypstate_new   octave_pstate_new
 
#define YYPULL   1
 
#define yypull_parse   octave_pull_parse
 
#define YYPURE   1
 
#define YYPUSH   1
 
#define yypush_parse   octave_push_parse
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YYSIZE_T   size_t
 
#define YYSKELETON_NAME   "yacc.c"
 
#define yyss   yyps->yyss
 
#define yyssa   yyps->yyssa
 
#define yyssp   yyps->yyssp
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYSTACK_BYTES(N)
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define yystacksize   yyps->yystacksize
 
#define yystate   yyps->yystate
 
#define YYSTYPE   OCTAVE_STYPE
 
#define YYTABLE_NINF   -270
 
#define yytable_value_is_error(Yytable_value)   0
 
#define YYTERROR   1
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYUNDEFTOK   2
 
#define YYUSE(E)   ((void) (E))
 
#define yyvs   yyps->yyvs
 
#define yyvsa   yyps->yyvsa
 
#define yyvsp   yyps->yyvsp
 

Typedefs

typedef struct octave_pstate octave_pstate
 
typedef short int yytype_int16
 
typedef signed char yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef unsigned char yytype_uint8
 

Functions

string_vector autoloaded_functions (void)
 
void cleanup_statement_list (tree_statement_list **lst)
 
octave_value_list eval_string (const std::string &eval_str, bool silent, int &parse_status, int nargout)
 
octave_value eval_string (const std::string &eval_str, bool silent, int &parse_status)
 
static octave_value_list eval_string (const octave_value &arg, bool silent, int &parse_status, int nargout)
 
OCTAVE_EXPORT octave_value_list F__parse_file__ (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list F__parser_debug_flag__ (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fassignin (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fautoload (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fbuiltin (const octave_value_list &args, int nargout)
 
octave_value_list feval (const std::string &name, const octave_value_list &args, int nargout)
 
octave_value_list feval (octave_function *fcn, const octave_value_list &args, int nargout)
 
octave_value_list feval (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Feval (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fevalin (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Ffeval (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fmfilename (const octave_value_list &args, int)
 
void free (void *)
 
OCTAVE_EXPORT octave_value_list Fsource (const octave_value_list &args, int)
 
static octave_value_list get_feval_args (const octave_value_list &args)
 
std::string get_help_from_file (const std::string &nm, bool &symbol_found, std::string &full_file)
 
std::string get_help_from_file (const std::string &nm, bool &symbol_found)
 
octave_functionload_fcn_from_file (const std::string &file_name, const std::string &dir_name, const std::string &dispatch_type, const std::string &package_name, const std::string &fcn_name, bool autoload)
 
std::string lookup_autoload (const std::string &nm)
 
void * malloc (size_t)
 
static void octave_error (octave_base_parser &parser, const char *s)
 
int octave_lex (OCTAVE_STYPE *, void *)
 The main scanner function which does all the work. More...
 
int octave_parse (octave_base_parser &parser)
 
void octave_pstate_delete (octave_pstate *ps)
 
octave_pstateoctave_pstate_new (void)
 
int octave_pull_parse (octave_pstate *ps, octave_base_parser &parser)
 
int octave_push_parse (octave_pstate *ps, int pushed_char, OCTAVE_STYPE const *pushed_val, octave_base_parser &parser)
 
static octave_functionparse_fcn_file (const std::string &full_file, const std::string &file, const std::string &dispatch_type, const std::string &package_name, bool require_file, bool force_script, bool autoload, bool relative_lookup, const std::string &warn_for)
 
string_vector reverse_lookup_autoload (const std::string &nm)
 
static void safe_fclose (FILE *f)
 
void source_file (const std::string &file_name, const std::string &context, bool verbose, bool require_file, const std::string &warn_for)
 
static void yydestruct (const char *yymsg, int yytype, OCTAVE_STYPE *yyvaluep, octave_base_parser &parser)
 

Variables

static std::map< std::string,
std::string > 
autoload_map
 
octave_base_lexerLEXER = 0
 
bool reading_startup_message_printed = false
 
static const yytype_int16 yycheck []
 
static const yytype_uint16 yydefact []
 
static const yytype_int16 yydefgoto []
 
static const yytype_int16 yypact []
 
static const yytype_int16 yypgoto []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
static const yytype_uint8 yystos []
 
static const yytype_int16 yytable []
 
static const yytype_uint8 yytranslate []
 

Macro Definition Documentation

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

Definition at line 553 of file oct-parse.cc.

#define ABORT_PARSE
Value:
do \
{ \
if (interactive && ! lexer.input_from_eval_string ()) \
} \
while (0)
#define yyerrok
Definition: oct-parse.cc:1447
#define YYABORT
Definition: oct-parse.cc:1453
bool interactive
Definition: input.cc:103
#define lexer
Definition: oct-parse.cc:170
#define YYACCEPT
Definition: oct-parse.cc:1452

Definition at line 159 of file oct-parse.cc.

Referenced by octave_push_parse().

#define ADD_EQ   258

Definition at line 302 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define AND_EQ   268

Definition at line 312 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define BREAK   315

Definition at line 359 of file oct-parse.cc.

#define CASE   313

Definition at line 357 of file oct-parse.cc.

#define CATCH   321

Definition at line 365 of file oct-parse.cc.

#define CLASSDEF   325

Definition at line 369 of file oct-parse.cc.

#define CLEANUP   319

Definition at line 363 of file oct-parse.cc.

#define CONTINUE   316

Definition at line 360 of file oct-parse.cc.

#define DIV_EQ   261

Definition at line 305 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define DO   307

Definition at line 351 of file oct-parse.cc.

#define DQ_STRING   302

Definition at line 346 of file oct-parse.cc.

Referenced by octave_base_parser::make_constant(), and octave_push_parse().

#define EDIV   287

Definition at line 331 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EDIV_EQ   265

Definition at line 309 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define ELEFTDIV   288

Definition at line 332 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define ELEFTDIV_EQ   266

Definition at line 310 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define ELSE   311

Definition at line 355 of file oct-parse.cc.

#define ELSEIF   310

Definition at line 354 of file oct-parse.cc.

#define EMINUS   290

Definition at line 334 of file oct-parse.cc.

#define EMUL   286

Definition at line 330 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EMUL_EQ   264

Definition at line 308 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define END   301

Definition at line 345 of file oct-parse.cc.

#define END_OF_INPUT   336

Definition at line 380 of file oct-parse.cc.

#define ENUMERATION   329

Definition at line 373 of file oct-parse.cc.

#define EPLUS   289

Definition at line 333 of file oct-parse.cc.

#define EPOW   296

Definition at line 340 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EPOW_EQ   267

Definition at line 311 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define EVENTS   328

Definition at line 372 of file oct-parse.cc.

#define EXPR_AND   276

Definition at line 320 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_AND_AND   274

Definition at line 318 of file oct-parse.cc.

Referenced by octave_base_parser::make_boolean_op(), and octave_push_parse().

#define EXPR_EQ   281

Definition at line 325 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_GE   283

Definition at line 327 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_GT   284

Definition at line 328 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_LE   280

Definition at line 324 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_LT   279

Definition at line 323 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_NE   282

Definition at line 326 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_NOT   278

Definition at line 322 of file oct-parse.cc.

Referenced by octave_base_parser::make_prefix_op(), and octave_push_parse().

#define EXPR_OR   277

Definition at line 321 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define EXPR_OR_OR   275

Definition at line 319 of file oct-parse.cc.

Referenced by octave_base_parser::make_boolean_op(), and octave_push_parse().

#define FCN   335

Definition at line 379 of file oct-parse.cc.

#define FCN_HANDLE   324

Definition at line 368 of file oct-parse.cc.

#define FOR   304

Definition at line 348 of file oct-parse.cc.

Referenced by octave_push_parse().

#define FQ_IDENT   332

Definition at line 376 of file oct-parse.cc.

#define FUNC_RET   317

Definition at line 361 of file oct-parse.cc.

#define GET   333

Definition at line 377 of file oct-parse.cc.

#define GLOBAL   322

Definition at line 366 of file oct-parse.cc.

Referenced by octave_base_parser::make_decl_command(), and octave_push_parse().

#define HERMITIAN   291

Definition at line 335 of file oct-parse.cc.

Referenced by octave_base_parser::make_postfix_op(), and octave_push_parse().

#define IF   309

Definition at line 353 of file oct-parse.cc.

#define IMAG_NUM   298

Definition at line 342 of file oct-parse.cc.

Referenced by octave_base_parser::make_constant(), and octave_push_parse().

#define INPUT_FILE   338

Definition at line 382 of file oct-parse.cc.

#define LEFTDIV   285

Definition at line 329 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define LEFTDIV_EQ   262

Definition at line 306 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define lexer   parser.lexer
#define LEXICAL_ERROR   337

Definition at line 381 of file oct-parse.cc.

#define LSHIFT   272

Definition at line 316 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define LSHIFT_EQ   270

Definition at line 314 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define METAQUERY   330

Definition at line 374 of file oct-parse.cc.

#define METHODS   327

Definition at line 371 of file oct-parse.cc.

#define MINUS_MINUS   294
#define MUL_EQ   260

Definition at line 304 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define NAME   300

Definition at line 344 of file oct-parse.cc.

#define NUM   297

Definition at line 341 of file oct-parse.cc.

Referenced by octave_base_parser::make_constant(), and octave_push_parse().

#define octave_nerrs   yyps->octave_nerrs

Definition at line 3041 of file oct-parse.cc.

#define OR_EQ   269

Definition at line 313 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define OTHERWISE   314

Definition at line 358 of file oct-parse.cc.

#define PARFOR   305

Definition at line 349 of file oct-parse.cc.

Referenced by octave_base_parser::make_for_command(), and octave_push_parse().

#define PERSISTENT   323
#define PLUS_PLUS   293
#define POW   295

Definition at line 339 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define POW_EQ   263

Definition at line 307 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define PROPERTIES   326

Definition at line 370 of file oct-parse.cc.

#define RSHIFT   273

Definition at line 317 of file oct-parse.cc.

Referenced by octave_base_parser::make_binary_op(), and octave_push_parse().

#define RSHIFT_EQ   271

Definition at line 315 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define scanner   lexer.scanner

Definition at line 171 of file oct-parse.cc.

Referenced by octave_pull_parse(), and octave_push_parser::run().

#define SET   334

Definition at line 378 of file oct-parse.cc.

#define SQ_STRING   303

Definition at line 347 of file oct-parse.cc.

Referenced by octave_base_parser::make_constant(), and octave_push_parse().

#define STRUCT_ELT   299

Definition at line 343 of file oct-parse.cc.

#define SUB_EQ   259

Definition at line 303 of file oct-parse.cc.

Referenced by octave_base_parser::make_assign_op(), and octave_push_parse().

#define SUPERCLASSREF   331

Definition at line 375 of file oct-parse.cc.

#define SWITCH   312

Definition at line 356 of file oct-parse.cc.

#define TRANSPOSE   292

Definition at line 336 of file oct-parse.cc.

Referenced by octave_base_parser::make_postfix_op(), and octave_push_parse().

#define TRY   320

Definition at line 364 of file oct-parse.cc.

#define UNARY   339

Definition at line 383 of file oct-parse.cc.

#define UNTIL   308

Definition at line 352 of file oct-parse.cc.

#define UNWIND   318

Definition at line 362 of file oct-parse.cc.

#define WHILE   306

Definition at line 350 of file oct-parse.cc.

#define YY_ (   Msgid)    Msgid

Definition at line 526 of file oct-parse.cc.

Referenced by octave_pull_parse(), and octave_push_parse().

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 536 of file oct-parse.cc.

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 541 of file oct-parse.cc.

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 545 of file oct-parse.cc.

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 576 of file oct-parse.cc.

Referenced by octave_push_parse(), and yydestruct().

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 577 of file oct-parse.cc.

Referenced by octave_push_parse(), and yydestruct().

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 573 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YY_NULLPTR   0

Definition at line 180 of file oct-parse.cc.

Referenced by octave_parse(), and octave_pstate_new().

#define YY_OCTAVE_PARSE_TREE_OCT_PARSE_H_INCLUDED

Definition at line 195 of file oct-parse.cc.

#define YY_REDUCE_PRINT (   Rule)

Definition at line 1609 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 1608 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)

Definition at line 1607 of file oct-parse.cc.

Referenced by octave_push_parse(), and yydestruct().

#define YYABORT   goto yyabortlab

Definition at line 1453 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYACCEPT   goto yyacceptlab

Definition at line 1452 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYBACKUP (   Token,
  Value 
)
Value:
do \
if (yychar == YYEMPTY) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
goto yybackup; \
} \
else \
{ \
yyerror (parser, YY_("syntax error: cannot back up")); \
} \
while (0)
#define YYERROR
Definition: oct-parse.cc:1454
#define yyssp
Definition: oct-parse.cc:3046
This class gets nodes and searchs inside of 'info files'.
Definition: parser.h:49
#define YYEMPTY
Definition: oct-parse.cc:1449
#define YYPOPSTACK(N)
#define YY_(Msgid)
Definition: oct-parse.cc:526
#define yystate
Definition: oct-parse.cc:3042
#define yylval
#define yyerror
Definition: oct-parse.cc:71

Definition at line 1459 of file oct-parse.cc.

#define YYBISON   1

Definition at line 44 of file oct-parse.cc.

#define YYBISON_VERSION   "3.0.2"

Definition at line 47 of file oct-parse.cc.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 1448 of file oct-parse.cc.

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)
#define YYSIZE_T
Definition: oct-parse.cc:510

Definition at line 676 of file oct-parse.cc.

#define YYCOPY_NEEDED   1

Definition at line 648 of file oct-parse.cc.

#define yydebug   octave_debug

Definition at line 72 of file oct-parse.cc.

#define YYDEBUG   1

Definition at line 79 of file oct-parse.cc.

#define YYDPRINTF (   Args)

Definition at line 1606 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYEMPTY   (-2)

Definition at line 1449 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYEOF   0

Definition at line 1450 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYERRCODE   256

Definition at line 1478 of file oct-parse.cc.

#define yyerrok   (yyerrstatus = 0)

Definition at line 1447 of file oct-parse.cc.

#define yyerror   octave_error

Definition at line 71 of file oct-parse.cc.

Referenced by octave_pull_parse(), and octave_push_parse().

#define YYERROR   goto yyerrorlab

Definition at line 1454 of file oct-parse.cc.

#define YYERROR_VERBOSE   0

Definition at line 189 of file oct-parse.cc.

#define yyerrstatus   yyps->yyerrstatus

Definition at line 3043 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define YYFINAL   110

Definition at line 689 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYFREE   free

Definition at line 619 of file oct-parse.cc.

#define YYINITDEPTH   200

Definition at line 1615 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYLAST   1478

Definition at line 691 of file oct-parse.cc.

Referenced by octave_push_parse().

#define yylex   octave_lex

Definition at line 70 of file oct-parse.cc.

Referenced by octave_pull_parse().

#define YYMALLOC   malloc

Definition at line 613 of file oct-parse.cc.

#define YYMAXDEPTH   10000

Definition at line 1626 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYMAXUTOK   339

Definition at line 705 of file oct-parse.cc.

#define yynerrs   octave_nerrs

Definition at line 73 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYNNTS   105

Definition at line 696 of file oct-parse.cc.

#define YYNRULES   282

Definition at line 698 of file oct-parse.cc.

#define YYNSTATES   524

Definition at line 700 of file oct-parse.cc.

#define YYNTOKENS   102

Definition at line 694 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYPACT_NINF   -421

Definition at line 851 of file oct-parse.cc.

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-421)))

Definition at line 853 of file oct-parse.cc.

Referenced by octave_push_parse().

#define yyparse   octave_parse

Definition at line 64 of file oct-parse.cc.

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))

Referenced by octave_push_parse().

#define yypstate   octave_pstate

Definition at line 69 of file oct-parse.cc.

Referenced by octave_pstate_new(), octave_pull_parse(), and octave_push_parser::run().

#define yypstate_delete   octave_pstate_delete

Definition at line 68 of file oct-parse.cc.

Referenced by octave_pull_parse(), and octave_push_parser::~octave_push_parser().

#define yypstate_new   octave_pstate_new

Definition at line 67 of file oct-parse.cc.

Referenced by octave_push_parser::init(), and octave_pull_parse().

#define YYPULL   1

Definition at line 59 of file oct-parse.cc.

#define yypull_parse   octave_pull_parse

Definition at line 66 of file oct-parse.cc.

Referenced by octave_parse().

#define YYPURE   1

Definition at line 53 of file oct-parse.cc.

#define YYPUSH   1

Definition at line 56 of file oct-parse.cc.

#define yypush_parse   octave_push_parse

Definition at line 65 of file oct-parse.cc.

Referenced by octave_pull_parse().

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 1457 of file oct-parse.cc.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 516 of file oct-parse.cc.

#define YYSIZE_T   size_t

Definition at line 510 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file oct-parse.cc.

#define yyss   yyps->yyss

Definition at line 3045 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define yyssa   yyps->yyssa

Definition at line 3044 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define yyssp   yyps->yyssp

Definition at line 3046 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 599 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 602 of file oct-parse.cc.

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
short int yytype_int16
#define YYSTYPE
Definition: oct-parse.cc:62
F77_RET_T const octave_idx_type & N
Definition: CmplxGEPBAL.cc:39
#define YYSTACK_GAP_MAXIMUM
Definition: oct-parse.cc:640

Definition at line 644 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYSTACK_FREE   YYFREE

Definition at line 600 of file oct-parse.cc.

Referenced by octave_pstate_delete(), and octave_push_parse().

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 640 of file oct-parse.cc.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSIZE_T
Definition: oct-parse.cc:510
#define yystacksize
Definition: oct-parse.cc:3050
#define YYCOPY(Dst, Src, Count)
Definition: oct-parse.cc:676
#define YYSTACK_GAP_MAXIMUM
Definition: oct-parse.cc:640

Definition at line 655 of file oct-parse.cc.

Referenced by octave_push_parse().

#define yystacksize   yyps->yystacksize

Definition at line 3050 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define yystate   yyps->yystate

Definition at line 3042 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define YYSTYPE   OCTAVE_STYPE

Definition at line 62 of file oct-parse.cc.

Referenced by octave_pull_parse(), octave_push_parse(), and octave_push_parser::run().

#define YYTABLE_NINF   -270

Definition at line 856 of file oct-parse.cc.

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 858 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYTERROR   1

Definition at line 1477 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 707 of file oct-parse.cc.

Referenced by octave_push_parse().

#define YYUNDEFTOK   2

Definition at line 704 of file oct-parse.cc.

#define YYUSE (   E)    ((void) (E))

Definition at line 559 of file oct-parse.cc.

Referenced by octave_push_parse(), and yydestruct().

#define yyvs   yyps->yyvs

Definition at line 3048 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define yyvsa   yyps->yyvsa

Definition at line 3047 of file oct-parse.cc.

Referenced by octave_push_parse(), and octave_tex_parse().

#define yyvsp   yyps->yyvsp

Definition at line 3049 of file oct-parse.cc.

Referenced by octave_tex_parse().

Typedef Documentation

typedef struct octave_pstate octave_pstate

Definition at line 461 of file oct-parse.cc.

typedef short int yytype_int16

Definition at line 500 of file oct-parse.cc.

typedef signed char yytype_int8

Definition at line 488 of file oct-parse.cc.

typedef unsigned short int yytype_uint16

Definition at line 494 of file oct-parse.cc.

typedef unsigned char yytype_uint8

Definition at line 482 of file oct-parse.cc.

Function Documentation

string_vector autoloaded_functions ( void  )

Definition at line 8172 of file oct-parse.cc.

References names().

Referenced by F__list_functions__(), and make_name_list().

void cleanup_statement_list ( tree_statement_list **  lst)

Definition at line 8907 of file oct-parse.cc.

octave_value_list eval_string ( const std::string &  eval_str,
bool  silent,
int parse_status,
int  nargout 
)
octave_value eval_string ( const std::string &  eval_str,
bool  silent,
int parse_status 
)

Definition at line 8879 of file oct-parse.cc.

References octave_value_list::empty(), and eval_string().

static octave_value_list eval_string ( const octave_value arg,
bool  silent,
int parse_status,
int  nargout 
)
static
OCTAVE_EXPORT octave_value_list F__parse_file__ ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list F__parser_debug_flag__ ( const octave_value_list args,
int  nargout 
)

Definition at line 9166 of file oct-parse.cc.

References octave_debug, and set_internal_variable().

OCTAVE_EXPORT octave_value_list Fassignin ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fautoload ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fbuiltin ( const octave_value_list args,
int  nargout 
)
octave_value_list feval ( const std::string &  name,
const octave_value_list args,
int  nargout 
)
octave_value_list feval ( octave_function fcn,
const octave_value_list args,
int  nargout 
)

Definition at line 8644 of file oct-parse.cc.

References octave_base_value::do_multi_index_op().

octave_value_list feval ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Feval ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Fevalin ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Ffeval ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Fmfilename ( const octave_value_list args,
int   
)
void free ( void *  )

Referenced by octave_pstate_delete().

OCTAVE_EXPORT octave_value_list Fsource ( const octave_value_list args,
int   
)
static octave_value_list get_feval_args ( const octave_value_list args)
static

Definition at line 8655 of file oct-parse.cc.

References octave_value_list::length(), and octave_value_list::slice().

Referenced by feval().

std::string get_help_from_file ( const std::string &  nm,
bool symbol_found,
std::string &  full_file 
)
std::string get_help_from_file ( const std::string &  nm,
bool symbol_found 
)

Definition at line 8150 of file oct-parse.cc.

References get_help_from_file().

octave_function* load_fcn_from_file ( const std::string &  file_name,
const std::string &  dir_name,
const std::string &  dispatch_type,
const std::string &  package_name,
const std::string &  fcn_name,
bool  autoload 
)
std::string lookup_autoload ( const std::string &  nm)
void* malloc ( size_t  )

Referenced by octave_pstate_new().

static void octave_error ( octave_base_parser parser,
const char s 
)
static

Definition at line 5982 of file oct-parse.cc.

References octave_base_parser::bison_error().

int octave_lex ( OCTAVE_STYPE ,
void *   
)

The main scanner function which does all the work.

Definition at line 1318 of file lex.cc.

References ADD_EQ, AND_EQ, octave_comment_elt::block, BLOCK_COMMENT_START, CMD_OR_COMPUTED_ASSIGN_OP, CMD_OR_OP, CMD_OR_UNARY_OP, COMMAND_ARG_FINISH, COMMAND_START, curr_lexer, DIV_EQ, DQ_STRING, DQ_STRING_START, ECHO, EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, EMINUS, EMUL, EMUL_EQ, octave_comment_elt::end_of_line, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EPLUS, EPOW, EPOW_EQ, error(), EXPR_AND, EXPR_AND_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_NOT, EXPR_OR, EXPR_OR_OR, FQ_IDENT_START, octave_comment_elt::full_line, HANDLE_IDENTIFIER, HANDLE_STRING_CONTINUATION, HERMITIAN, IMAG_NUM, INITIAL, INPUT_FILE, INPUT_FILE_START, LEFTDIV, LEFTDIV_EQ, LEXICAL_ERROR, LINE_COMMENT_START, LSHIFT, LSHIFT_EQ, MATRIX_START, MINUS_MINUS, MUL_EQ, NUM, octave__create_buffer(), octave__load_buffer_state(), octave_alloc(), octave_ensure_buffer_stack(), octave_wrap, OR_EQ, PLUS_PLUS, POW, POW_EQ, RSHIFT, RSHIFT_EQ, SQ_STRING, SQ_STRING_START, SUB_EQ, TRANSPOSE, undo_string_escape(), unput, warning_with_id(), yy_accept, yy_acclist, YY_AT_BOL, yy_base, YY_BREAK, YY_BUF_SIZE, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yyguts_t::yy_c_buf_p, yy_chk, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_def, yyguts_t::yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yyguts_t::yy_full_lp, yyguts_t::yy_full_match, yyguts_t::yy_full_state, yy_get_next_buffer(), yy_get_previous_state(), yyguts_t::yy_hold_char, yyguts_t::yy_init, yyguts_t::yy_looking_for_trail_begin, yyguts_t::yy_lp, yy_meta, YY_MORE_ADJ, yyguts_t::yy_n_chars, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, yyguts_t::yy_start, yyguts_t::yy_state_buf, YY_STATE_BUF_SIZE, YY_STATE_EOF, yyguts_t::yy_state_ptr, YY_TRAILING_HEAD_MASK, YY_TRAILING_MASK, yy_try_NUL_trans(), yyin, yyleng, yyless, yylval, yyout, and yytext.

Referenced by octave_push_parser::run().

int octave_parse ( octave_base_parser parser)

Definition at line 2984 of file oct-parse.cc.

References YY_NULLPTR, and yypull_parse.

Referenced by octave_parser::run().

void octave_pstate_delete ( octave_pstate ps)

Definition at line 3030 of file oct-parse.cc.

References free(), and YYSTACK_FREE.

octave_pstate * octave_pstate_new ( void  )

Definition at line 3019 of file oct-parse.cc.

References malloc(), YY_NULLPTR, and yypstate.

int octave_pull_parse ( octave_pstate ps,
octave_base_parser parser 
)
int octave_push_parse ( octave_pstate ps,
int  pushed_char,
OCTAVE_STYPE const *  pushed_val,
octave_base_parser parser 
)

Definition at line 3058 of file oct-parse.cc.

References ABORT_PARSE, ADD_EQ, symbol_table::alloc_scope(), AND_EQ, octave_base_parser::append_statement_list(), octave_base_parser::bison_error(), octave_base_parser::classdef_object, octave_base_parser::curr_fcn_depth, DIV_EQ, DQ_STRING, EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, EMUL, EMUL_EQ, octave_base_parser::end_token_ok(), octave_base_parser::endfunction_found, EPOW, EPOW_EQ, EXPR_AND, EXPR_AND_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_NOT, EXPR_OR, EXPR_OR_OR, octave_base_parser::finish_cell(), octave_base_parser::finish_classdef_external_method(), octave_base_parser::finish_colon_expression(), octave_base_parser::finish_function(), octave_base_parser::finish_if_command(), octave_base_parser::finish_matrix(), octave_base_parser::finish_switch_command(), FOR, octave_base_parser::frob_function(), token::function_end, octave_base_parser::function_scopes, GLOBAL, HERMITIAN, IMAG_NUM, tree_parameter_list::in, LEFTDIV, LEFTDIV_EQ, lexer, LSHIFT, LSHIFT_EQ, octave_value::magic_colon_t, octave_base_parser::make_anon_fcn_handle(), octave_base_parser::make_assign_op(), octave_base_parser::make_binary_op(), octave_base_parser::make_boolean_op(), octave_base_parser::make_break_command(), octave_base_parser::make_classdef(), octave_base_parser::make_classdef_enum_block(), octave_base_parser::make_classdef_events_block(), octave_base_parser::make_classdef_methods_block(), octave_base_parser::make_classdef_properties_block(), octave_base_parser::make_constant(), octave_base_parser::make_continue_command(), octave_base_parser::make_decl_command(), octave_base_parser::make_do_until_command(), octave_base_parser::make_elseif_clause(), octave_base_parser::make_end(), octave_base_parser::make_fcn_handle(), octave_base_parser::make_for_command(), octave_base_parser::make_index_expression(), octave_base_parser::make_indirect_ref(), octave_base_parser::make_meta_class_query(), octave_base_parser::make_postfix_op(), octave_base_parser::make_prefix_op(), octave_base_parser::make_return_command(), octave_base_parser::make_script(), octave_base_parser::make_statement(), octave_base_parser::make_statement_list(), octave_base_parser::make_superclass_ref(), octave_base_parser::make_switch_case(), octave_base_parser::make_try_command(), octave_base_parser::make_unwind_command(), octave_base_parser::make_while_command(), octave_base_parser::max_fcn_depth, MINUS_MINUS, MUL_EQ, NUM, OR_EQ, tree_parameter_list::out, PARFOR, octave_base_parser::parsing_subfunctions, PERSISTENT, PLUS_PLUS, POW, POW_EQ, octave_base_parser::primary_fcn_scope, octave_base_parser::recover_from_parsing_function(), RSHIFT, RSHIFT_EQ, octave_base_parser::set_stmt_print_flag(), SQ_STRING, octave_base_parser::start_classdef_external_method(), octave_base_parser::start_function(), octave_base_parser::start_if_command(), octave_base_parser::stmt_list, SUB_EQ, TRANSPOSE, tree_parameter_list::validate(), octave_base_parser::validate_array_list(), octave_base_parser::validate_matrix_for_assignment(), YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_INITIAL_VALUE, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, yyerrstatus, YYFINAL, YYINITDEPTH, YYLAST, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, YYPUSH_MORE, yyr1, yyr2, YYSIZE_T, yyss, yyalloc::yyss_alloc, yyssa, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, yystos, YYSTYPE, yytable, yytable_value_is_error, YYTERROR, YYTRANSLATE, YYUSE, yyvs, yyalloc::yyvs_alloc, and yyvsa.

Referenced by octave_push_parser::run().

static octave_function* parse_fcn_file ( const std::string &  full_file,
const std::string &  file,
const std::string &  dispatch_type,
const std::string &  package_name,
bool  require_file,
bool  force_script,
bool  autoload,
bool  relative_lookup,
const std::string &  warn_for 
)
static
string_vector reverse_lookup_autoload ( const std::string &  nm)

Definition at line 8185 of file oct-parse.cc.

References string_vector::append(), and names().

static void safe_fclose ( FILE *  f)
static

Definition at line 8006 of file oct-parse.cc.

Referenced by parse_fcn_file().

void source_file ( const std::string &  file_name,
const std::string &  context,
bool  verbose,
bool  require_file,
const std::string &  warn_for 
)
static void yydestruct ( const char yymsg,
int  yytype,
OCTAVE_STYPE yyvaluep,
octave_base_parser parser 
)
static

Variable Documentation

std::map<std::string, std::string> autoload_map
static

Definition at line 152 of file oct-parse.cc.

octave_base_lexer* LEXER = 0

Definition at line 137 of file oct-parse.cc.

bool reading_startup_message_printed = false

Definition at line 149 of file oct-parse.cc.

Referenced by octave_execute_interpreter(), and source_file().

const yytype_int16 yycheck[]
static

Definition at line 1167 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_uint16 yydefact[]
static

Definition at line 923 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
-1, 35, 36, 37, 189, 190, 191, 192, 39, 115,
73, 41, 42, 43, 44, 45, 98, 46, 104, 99,
47, 48, 49, 100, 101, 102, 136, 50, 229, 51,
52, 53, 54, 55, 56, 57, 58, 88, 290, 89,
59, 60, 181, 182, 285, 286, 61, 340, 341, 342,
343, 62, 63, 64, 65, 108, 303, 511, 207, 208,
209, 269, 324, 66, 67, 68, 270, 271, 327, 396,
193, 194, 350, 386, 387, 413, 414, 428, 452, 441,
447, 448, 481, 482, 449, 502, 485, 519, 486, 487,
450, 491, 492, 451, 495, 496, 210, 488, 69, 70,
71, 92, 93, 178, 179
}

Definition at line 997 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_int16 yypact[]
static

Definition at line 863 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-421, -421, -421, -421, -176, -421, -421, 4, -421, -421,
0, -421, -421, -19, -421, -421, -421, -421, -421, -13,
-421, -421, -63, -175, -81, -95, -105, 417, -56, -421,
-421, 427, -49, -421, -24, -421, -421, 316, -375, -62,
-421, -421, -421, -421, -421, -421, -421, -421, -421, 12,
17, -421, -421, -421, -421, -421, -421, -33, -421, -421,
39, -143, -421, -421, -421, -420, -421, 21, -421, -46,
-421, -421, -265, -421, -59, -421, -421, -421, -421, -104,
-421, -107, -421, -142, -106, -162, -421, -421, -140, -421,
-88, -421, -129, -84, -421, -127, -158, -2, -421, 342,
344, -421, -421, 192, 112
}

Definition at line 981 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_uint8 yyr1[]
static

Definition at line 1379 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_uint8 yyr2[]
static

Definition at line 1413 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_uint8 yystos[]
static

Definition at line 1321 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_int16 yytable[]
static

Definition at line 1015 of file oct-parse.cc.

Referenced by octave_push_parse().

const yytype_uint8 yytranslate[]
static

Definition at line 712 of file oct-parse.cc.