"Fossies" - the Fresh Open Source Software Archive

Member "heaplayers-351/benchmarks/mudlle/mparser.h" (15 Oct 2003, 1637 Bytes) of package /linux/misc/old/heaplayers_3_5_1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "mparser.h" see the Fossies "Dox" file reference documentation.

    1 /* $Log: mparser.h,v $
    2 /* Revision 1.1  2003/10/15 15:58:57  emery
    3 /* Initial check-in.
    4 /*
    5 /* Revision 1.1  2001/08/23 17:20:02  emery
    6 /* The big fig newton.
    7 /*
    8 /* Revision 1.1.1.1  2001/06/28 19:48:18  dgay
    9 /* Initial import of RC tests
   10 /*
   11  * Revision 1.3  1997/08/04 22:17:04  arda
   12  * Fix mudlle so that it compiles with g++
   13  *
   14  * Revision 1.2  1996/02/09 14:58:38  arda
   15  * Security holes
   16  *
   17  * Revision 1.1  1995/06/04  14:24:30  arda
   18  * Rename/move some files, misc. junk
   19  *
   20  * Revision 1.7  1994/10/09  06:42:45  arda
   21  * Libraries
   22  * Type inference
   23  * Many minor improvements
   24  *
   25  * Revision 1.6  1994/08/16  19:16:10  arda
   26  * Mudlle compiler for sparc now fully functional (68k compiler now needs
   27  * updating for primitives).
   28  * Changes to allow Sparc trap's for runtime errors.
   29  * Also added flags to primitives for better calling sequences.
   30  *
   31  * Revision 1.3  1993/03/29  09:24:18  un_mec
   32  * Owl: Changed descriptor I/O
   33  *      New interpreter / compiler structure.
   34  *
   35  * Revision 1.3  1993/03/14  16:14:42  dgay
   36  * Optimised stack & gc ops.
   37  *
   38  * Revision 1.1  1992/12/27  21:41:27  un_mec
   39  * Mudlle source, without any Mume extensions.
   40  *
   41  */
   42 
   43 #ifndef PARSER_H
   44 #define PARSER_H
   45 
   46 #include "tree.h"
   47 
   48 struct yystype {
   49   char *string;
   50   char *symbol;
   51   int integer;
   52   constant tconstant;
   53   block tblock;
   54   function tfunction;
   55   clist tclist;
   56   vlist tvlist;
   57   cstlist tcstlist;
   58   component tcomponent;
   59   mtype tmtype;
   60   struct {
   61     int varargs;
   62     const char *var;
   63     vlist args;
   64   } tparameters;
   65   mfile tfile;
   66 };
   67 
   68 #define YYSTYPE struct yystype
   69 
   70 #include "tokens.h"
   71 
   72 mfile parse(block_t heap);
   73 void parser_init(void);
   74 
   75 #endif