graminit.h revision f70e43a073b36c6f6e9894c01025243a77a452d4
1/*********************************************************** 2Copyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The 3Netherlands. 4 5 All Rights Reserved 6 7Permission to use, copy, modify, and distribute this software and its 8documentation for any purpose and without fee is hereby granted, 9provided that the above copyright notice appear in all copies and that 10both that copyright notice and this permission notice appear in 11supporting documentation, and that the names of Stichting Mathematisch 12Centrum or CWI not be used in advertising or publicity pertaining to 13distribution of the software without specific, written prior permission. 14 15STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO 16THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 17FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE 18FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 19WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 20ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 21OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 22 23******************************************************************/ 24 25#define single_input 256 26#define file_input 257 27#define expr_input 258 28#define eval_input 259 29#define funcdef 260 30#define parameters 261 31#define fplist 262 32#define fpdef 263 33#define stmt 264 34#define simple_stmt 265 35#define expr_stmt 266 36#define print_stmt 267 37#define del_stmt 268 38#define pass_stmt 269 39#define flow_stmt 270 40#define break_stmt 271 41#define return_stmt 272 42#define raise_stmt 273 43#define import_stmt 274 44#define compound_stmt 275 45#define if_stmt 276 46#define while_stmt 277 47#define for_stmt 278 48#define try_stmt 279 49#define except_clause 280 50#define suite 281 51#define test 282 52#define and_test 283 53#define not_test 284 54#define comparison 285 55#define comp_op 286 56#define expr 287 57#define term 288 58#define factor 289 59#define atom 290 60#define trailer 291 61#define subscript 292 62#define exprlist 293 63#define testlist 294 64#define classdef 295 65#define baselist 296 66#define arguments 297 67