mirror of https://github.com/python/cpython.git
70 lines
2.1 KiB
C
70 lines
2.1 KiB
C
/***********************************************************
|
|
Copyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The
|
|
Netherlands.
|
|
|
|
All Rights Reserved
|
|
|
|
Permission to use, copy, modify, and distribute this software and its
|
|
documentation for any purpose and without fee is hereby granted,
|
|
provided that the above copyright notice appear in all copies and that
|
|
both that copyright notice and this permission notice appear in
|
|
supporting documentation, and that the names of Stichting Mathematisch
|
|
Centrum or CWI not be used in advertising or publicity pertaining to
|
|
distribution of the software without specific, written prior permission.
|
|
|
|
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
|
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
|
|
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
******************************************************************/
|
|
|
|
#define single_input 256
|
|
#define file_input 257
|
|
#define expr_input 258
|
|
#define eval_input 259
|
|
#define funcdef 260
|
|
#define parameters 261
|
|
#define fplist 262
|
|
#define fpdef 263
|
|
#define stmt 264
|
|
#define simple_stmt 265
|
|
#define small_stmt 266
|
|
#define expr_stmt 267
|
|
#define print_stmt 268
|
|
#define del_stmt 269
|
|
#define pass_stmt 270
|
|
#define flow_stmt 271
|
|
#define break_stmt 272
|
|
#define continue_stmt 273
|
|
#define return_stmt 274
|
|
#define raise_stmt 275
|
|
#define import_stmt 276
|
|
#define compound_stmt 277
|
|
#define if_stmt 278
|
|
#define while_stmt 279
|
|
#define for_stmt 280
|
|
#define try_stmt 281
|
|
#define except_clause 282
|
|
#define suite 283
|
|
#define test 284
|
|
#define and_test 285
|
|
#define not_test 286
|
|
#define comparison 287
|
|
#define comp_op 288
|
|
#define expr 289
|
|
#define term 290
|
|
#define factor 291
|
|
#define atom 292
|
|
#define trailer 293
|
|
#define subscript 294
|
|
#define exprlist 295
|
|
#define testlist 296
|
|
#define dictmaker 297
|
|
#define classdef 298
|
|
#define baselist 299
|
|
#define arguments 300
|