2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2007-2008 - INRIA - Bruno JOFRET
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
15 ** Declaration shared between the scanner and the parser but private
16 ** to the parse module.
25 #include "exit_status.hxx"
29 typedef struct __EXPRESSIONLINEBREAK__
37 define YYLTYPE to override Bison Default Location
39 #define YYLTYPE Location
40 #include "parsescilab.hxx"
42 /** \brief Parsing entry . */
43 //int yylex(YYSTYPE *yylval, YYLTYPE *yylloc);
46 /** \brief Parsing error . */
47 void yyerror(std::string msg);
55 /** \brief For scanner just step . */
58 /** \brief Error from the scanner (from scanscilab) . */
59 void scan_error(std::string msg);
61 /** \brief Open the scanner step (from scanscilab) . */
62 void scan_open(const std::string &name);
64 /** \brief Close the scanner step (from scanscilab) . */
65 void scan_close(void);
67 /** \brief Convert exponent numbers to C standard . */
68 void scan_exponent_convert(char *in);
70 /** \brief Parse/Scan error message displat . */
71 void PrintError(std::string msg);
73 #endif /* !PARSE_HH_ */