realroot_doc 0.1.1
/Users/mourrain/Devel/mmx/realroot/include/realroot/parser.hpp
Go to the documentation of this file.
00001 /*********************************************************************
00002 *      This file is part of the source code of realroot software.      *
00003 *      (C) B. Mourrain, GALAAD, INRIA,                               *
00004 **********************************************************************
00005 History:
00006 $Id: parser.hpp,v 1.1 2005/07/11 11:23:12 mourrain Exp $
00007 **********************************************************************/
00008 #ifndef realroot_parser_hpp
00009 #define realroot_parser_hpp
00010 #include <string>
00011 
00012 //======================================================================
00013 namespace mmx {
00014 //======================================================================
00015 
00016 #define COEF  10
00017 #define XID   11
00018 #define SUM   12
00019 #define MINUS 13
00020 #define MULT  14
00021 #define TERMINATE  15
00022 #define SEPARATOR   16
00023 #define BLIST       17
00024 #define ELIST       18
00025 
00026 } //namespace mmx
00027 //======================================================================
00028 # ifndef YYLEX
00029 # define YYLEX
00030 extern "C" int yylex(void);
00031 extern "C" char *yylval;
00032 // extern "C" char *yyunput;
00033 # endif // YYLEX
00034 extern "C" char *synaps_input;
00035 extern "C" char *synaps_inputptr; /* current position in myinput */
00036 //char *yytext; /* current position in myinput */
00037 extern "C" char *synaps_inputlim; /* end of data */
00038 
00039 
00040 //======================================================================
00041 #endif // realroot_BASE_PARSER_H