Changeset 493 for XIOS/trunk/src/parse_expr/yacc_parser.yacc
- Timestamp:
- 10/03/14 10:51:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/parse_expr/yacc_parser.yacc
r458 r493 3 3 #include <string> 4 4 #include <iostream> 5 #include "exception.hpp" 6 5 7 using namespace std ; 8 using namespace xios ; 9 6 10 extern "C" 7 11 { … … 52 56 53 57 Line: 54 END { cout<<"The end: \n";}55 | Field_expr END { cout<<"Parsed END..."<<endl ;parsed=$1 ;}58 END { } 59 | Field_expr END { parsed=$1 ;} 56 60 ; 57 61 … … 96 100 int yyerror(const char *s) 97 101 { 98 cout<<"Parsing error :"<<s<<endl;102 ERROR("int yyerror(const char *s)", <<"Parsing error :"<<s<<endl) ; 99 103 } 100 104 } … … 104 108 CSimpleNodeExpr* parseExpr(const string& strExpr) 105 109 { 106 cout<<strExpr<<endl ;107 110 globalInputText=strExpr ; 108 111 globalReadOffset=0 ;
Note: See TracChangeset
for help on using the changeset viewer.