00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef YYTOKENTYPE
00038 # define YYTOKENTYPE
00039
00040
00041 enum yytokentype {
00042 ADD_EQ = 258,
00043 SUB_EQ = 259,
00044 MUL_EQ = 260,
00045 DIV_EQ = 261,
00046 LEFTDIV_EQ = 262,
00047 POW_EQ = 263,
00048 EMUL_EQ = 264,
00049 EDIV_EQ = 265,
00050 ELEFTDIV_EQ = 266,
00051 EPOW_EQ = 267,
00052 AND_EQ = 268,
00053 OR_EQ = 269,
00054 LSHIFT_EQ = 270,
00055 RSHIFT_EQ = 271,
00056 LSHIFT = 272,
00057 RSHIFT = 273,
00058 EXPR_AND_AND = 274,
00059 EXPR_OR_OR = 275,
00060 EXPR_AND = 276,
00061 EXPR_OR = 277,
00062 EXPR_NOT = 278,
00063 EXPR_LT = 279,
00064 EXPR_LE = 280,
00065 EXPR_EQ = 281,
00066 EXPR_NE = 282,
00067 EXPR_GE = 283,
00068 EXPR_GT = 284,
00069 LEFTDIV = 285,
00070 EMUL = 286,
00071 EDIV = 287,
00072 ELEFTDIV = 288,
00073 EPLUS = 289,
00074 EMINUS = 290,
00075 QUOTE = 291,
00076 TRANSPOSE = 292,
00077 PLUS_PLUS = 293,
00078 MINUS_MINUS = 294,
00079 POW = 295,
00080 EPOW = 296,
00081 NUM = 297,
00082 IMAG_NUM = 298,
00083 STRUCT_ELT = 299,
00084 NAME = 300,
00085 END = 301,
00086 DQ_STRING = 302,
00087 SQ_STRING = 303,
00088 FOR = 304,
00089 WHILE = 305,
00090 DO = 306,
00091 UNTIL = 307,
00092 IF = 308,
00093 ELSEIF = 309,
00094 ELSE = 310,
00095 SWITCH = 311,
00096 CASE = 312,
00097 OTHERWISE = 313,
00098 BREAK = 314,
00099 CONTINUE = 315,
00100 FUNC_RET = 316,
00101 UNWIND = 317,
00102 CLEANUP = 318,
00103 TRY = 319,
00104 CATCH = 320,
00105 GLOBAL = 321,
00106 STATIC = 322,
00107 FCN_HANDLE = 323,
00108 PROPERTIES = 324,
00109 METHODS = 325,
00110 EVENTS = 326,
00111 METAQUERY = 327,
00112 SUPERCLASSREF = 328,
00113 GET = 329,
00114 SET = 330,
00115 END_OF_INPUT = 331,
00116 LEXICAL_ERROR = 332,
00117 FCN = 333,
00118 SCRIPT_FILE = 334,
00119 FUNCTION_FILE = 335,
00120 CLASSDEF = 336,
00121 CLOSE_BRACE = 337,
00122 UNARY = 338
00123 };
00124 #endif
00125
00126 #define ADD_EQ 258
00127 #define SUB_EQ 259
00128 #define MUL_EQ 260
00129 #define DIV_EQ 261
00130 #define LEFTDIV_EQ 262
00131 #define POW_EQ 263
00132 #define EMUL_EQ 264
00133 #define EDIV_EQ 265
00134 #define ELEFTDIV_EQ 266
00135 #define EPOW_EQ 267
00136 #define AND_EQ 268
00137 #define OR_EQ 269
00138 #define LSHIFT_EQ 270
00139 #define RSHIFT_EQ 271
00140 #define LSHIFT 272
00141 #define RSHIFT 273
00142 #define EXPR_AND_AND 274
00143 #define EXPR_OR_OR 275
00144 #define EXPR_AND 276
00145 #define EXPR_OR 277
00146 #define EXPR_NOT 278
00147 #define EXPR_LT 279
00148 #define EXPR_LE 280
00149 #define EXPR_EQ 281
00150 #define EXPR_NE 282
00151 #define EXPR_GE 283
00152 #define EXPR_GT 284
00153 #define LEFTDIV 285
00154 #define EMUL 286
00155 #define EDIV 287
00156 #define ELEFTDIV 288
00157 #define EPLUS 289
00158 #define EMINUS 290
00159 #define QUOTE 291
00160 #define TRANSPOSE 292
00161 #define PLUS_PLUS 293
00162 #define MINUS_MINUS 294
00163 #define POW 295
00164 #define EPOW 296
00165 #define NUM 297
00166 #define IMAG_NUM 298
00167 #define STRUCT_ELT 299
00168 #define NAME 300
00169 #define END 301
00170 #define DQ_STRING 302
00171 #define SQ_STRING 303
00172 #define FOR 304
00173 #define WHILE 305
00174 #define DO 306
00175 #define UNTIL 307
00176 #define IF 308
00177 #define ELSEIF 309
00178 #define ELSE 310
00179 #define SWITCH 311
00180 #define CASE 312
00181 #define OTHERWISE 313
00182 #define BREAK 314
00183 #define CONTINUE 315
00184 #define FUNC_RET 316
00185 #define UNWIND 317
00186 #define CLEANUP 318
00187 #define TRY 319
00188 #define CATCH 320
00189 #define GLOBAL 321
00190 #define STATIC 322
00191 #define FCN_HANDLE 323
00192 #define PROPERTIES 324
00193 #define METHODS 325
00194 #define EVENTS 326
00195 #define METAQUERY 327
00196 #define SUPERCLASSREF 328
00197 #define GET 329
00198 #define SET 330
00199 #define END_OF_INPUT 331
00200 #define LEXICAL_ERROR 332
00201 #define FCN 333
00202 #define SCRIPT_FILE 334
00203 #define FUNCTION_FILE 335
00204 #define CLASSDEF 336
00205 #define CLOSE_BRACE 337
00206 #define UNARY 338
00207
00208
00209
00210
00211 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00212 typedef union YYSTYPE
00213 #line 379 "parse.y"
00214 {
00215
00216 token *tok_val;
00217
00218
00219 octave_comment_list *comment_type;
00220
00221
00222 char sep_type;
00223 tree *tree_type;
00224 tree_matrix *tree_matrix_type;
00225 tree_cell *tree_cell_type;
00226 tree_expression *tree_expression_type;
00227 tree_constant *tree_constant_type;
00228 tree_fcn_handle *tree_fcn_handle_type;
00229 tree_anon_fcn_handle *tree_anon_fcn_handle_type;
00230 tree_identifier *tree_identifier_type;
00231 tree_index_expression *tree_index_expression_type;
00232 tree_colon_expression *tree_colon_expression_type;
00233 tree_argument_list *tree_argument_list_type;
00234 tree_parameter_list *tree_parameter_list_type;
00235 tree_command *tree_command_type;
00236 tree_if_command *tree_if_command_type;
00237 tree_if_clause *tree_if_clause_type;
00238 tree_if_command_list *tree_if_command_list_type;
00239 tree_switch_command *tree_switch_command_type;
00240 tree_switch_case *tree_switch_case_type;
00241 tree_switch_case_list *tree_switch_case_list_type;
00242 tree_decl_elt *tree_decl_elt_type;
00243 tree_decl_init_list *tree_decl_init_list_type;
00244 tree_decl_command *tree_decl_command_type;
00245 tree_statement *tree_statement_type;
00246 tree_statement_list *tree_statement_list_type;
00247 octave_user_function *octave_user_function_type;
00248 void *dummy_type;
00249 }
00250
00251 #line 252 "y.tab.h"
00252 YYSTYPE;
00253 # define yystype YYSTYPE
00254 # define YYSTYPE_IS_DECLARED 1
00255 # define YYSTYPE_IS_TRIVIAL 1
00256 #endif
00257
00258 extern YYSTYPE octave_lval;
00259