/usr/include/scilab/parsescilab.hxx is in scilab-include 6.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | /* A Bison parser, made by GNU Bison 3.0.2. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
#ifndef YY_YY_Y_TAB_H_INCLUDED
# define YY_YY_Y_TAB_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 1
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
YYEOF = 0,
DOTS = 258,
EOL = 259,
SPACES = 260,
BOOLTRUE = 261,
BOOLFALSE = 262,
QUOTE = 263,
NOT = 264,
DOLLAR = 265,
COMMA = 266,
COLON = 267,
SEMI = 268,
LPAREN = 269,
RPAREN = 270,
LBRACK = 271,
RBRACK = 272,
LBRACE = 273,
RBRACE = 274,
DOT = 275,
DOTQUOTE = 276,
PLUS = 277,
MINUS = 278,
TIMES = 279,
DOTTIMES = 280,
KRONTIMES = 281,
CONTROLTIMES = 282,
RDIVIDE = 283,
DOTRDIVIDE = 284,
CONTROLRDIVIDE = 285,
KRONRDIVIDE = 286,
LDIVIDE = 287,
DOTLDIVIDE = 288,
CONTROLLDIVIDE = 289,
KRONLDIVIDE = 290,
POWER = 291,
DOTPOWER = 292,
EQ = 293,
NE = 294,
LT = 295,
LE = 296,
GT = 297,
GE = 298,
AND = 299,
ANDAND = 300,
OR = 301,
OROR = 302,
ASSIGN = 303,
IF = 304,
THEN = 305,
ELSE = 306,
ELSEIF = 307,
END = 308,
SELECT = 309,
SWITCH = 310,
CASE = 311,
OTHERWISE = 312,
FUNCTION = 313,
ENDFUNCTION = 314,
FOR = 315,
WHILE = 316,
DO = 317,
BREAK = 318,
CONTINUE = 319,
TRY = 320,
CATCH = 321,
RETURN = 322,
FLEX_ERROR = 323,
STR = 324,
ID = 325,
VARINT = 326,
VARFLOAT = 327,
NUM = 328,
PATH = 329,
COMMENT = 330,
BLOCKCOMMENT = 331,
TOPLEVEL = 332,
HIGHLEVEL = 333,
UPLEVEL = 334,
LISTABLE = 335,
CONTROLBREAK = 336,
UMINUS = 337,
FUNCTIONCALL = 338
};
#endif
/* Tokens. */
#define YYEOF 0
#define DOTS 258
#define EOL 259
#define SPACES 260
#define BOOLTRUE 261
#define BOOLFALSE 262
#define QUOTE 263
#define NOT 264
#define DOLLAR 265
#define COMMA 266
#define COLON 267
#define SEMI 268
#define LPAREN 269
#define RPAREN 270
#define LBRACK 271
#define RBRACK 272
#define LBRACE 273
#define RBRACE 274
#define DOT 275
#define DOTQUOTE 276
#define PLUS 277
#define MINUS 278
#define TIMES 279
#define DOTTIMES 280
#define KRONTIMES 281
#define CONTROLTIMES 282
#define RDIVIDE 283
#define DOTRDIVIDE 284
#define CONTROLRDIVIDE 285
#define KRONRDIVIDE 286
#define LDIVIDE 287
#define DOTLDIVIDE 288
#define CONTROLLDIVIDE 289
#define KRONLDIVIDE 290
#define POWER 291
#define DOTPOWER 292
#define EQ 293
#define NE 294
#define LT 295
#define LE 296
#define GT 297
#define GE 298
#define AND 299
#define ANDAND 300
#define OR 301
#define OROR 302
#define ASSIGN 303
#define IF 304
#define THEN 305
#define ELSE 306
#define ELSEIF 307
#define END 308
#define SELECT 309
#define SWITCH 310
#define CASE 311
#define OTHERWISE 312
#define FUNCTION 313
#define ENDFUNCTION 314
#define FOR 315
#define WHILE 316
#define DO 317
#define BREAK 318
#define CONTINUE 319
#define TRY 320
#define CATCH 321
#define RETURN 322
#define FLEX_ERROR 323
#define STR 324
#define ID 325
#define VARINT 326
#define VARFLOAT 327
#define NUM 328
#define PATH 329
#define COMMENT 330
#define BLOCKCOMMENT 331
#define TOPLEVEL 332
#define HIGHLEVEL 333
#define UPLEVEL 334
#define LISTABLE 335
#define CONTROLBREAK 336
#define UMINUS 337
#define FUNCTIONCALL 338
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE YYSTYPE;
union YYSTYPE
{
/* Tokens. */
double number;
std::wstring* str;
std::wstring* path;
std::wstring* comment;
LineBreakStr* mute;
ast::exps_t* t_list_var;
ast::exps_t* t_list_exp;
ast::Exp* t_exp;
ast::SeqExp* t_seq_exp;
ast::ReturnExp* t_return_exp;
ast::IfExp* t_if_exp;
ast::WhileExp* t_while_exp;
ast::ForExp* t_for_exp;
ast::TryCatchExp* t_try_exp;
ast::SelectExp* t_select_exp;
ast::CaseExp* t_case_exp;
ast::exps_t* t_list_case;
ast::CallExp* t_call_exp;
ast::MathExp* t_math_exp;
ast::OpExp* t_op_exp;
ast::OpExp::Oper t_op_exp_oper;
ast::LogicalOpExp::Oper t_lop_exp_oper;
ast::AssignExp* t_assign_exp;
ast::StringExp* t_string_exp;
ast::ListExp* t_implicit_list;
ast::MatrixExp* t_matrix_exp;
ast::MatrixLineExp* t_matrixline_exp;
ast::exps_t* t_list_mline;
ast::CellExp* t_cell_exp;
ast::CellCallExp* t_cell_call_exp;
ast::FunctionDec* t_function_dec;
ast::ArrayListExp* t_arraylist_exp;
ast::AssignListExp* t_assignlist_exp;
ast::ArrayListVar* t_arraylist_var;
ast::SimpleVar* t_simple_var;
};
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
/* Location type. */
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
typedef struct YYLTYPE YYLTYPE;
struct YYLTYPE
{
int first_line;
int first_column;
int last_line;
int last_column;
};
# define YYLTYPE_IS_DECLARED 1
# define YYLTYPE_IS_TRIVIAL 1
#endif
extern YYSTYPE yylval;
extern YYLTYPE yylloc;
int yyparse (void);
#endif /* !YY_YY_Y_TAB_H_INCLUDED */
|