Ignore:
Timestamp:
10/03/14 10:51:38 (10 years ago)
Author:
ymipsl
Message:

Cleaning spurious output on stdout

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/parse_expr/yacc_parser.yacc

    r458 r493  
    33#include <string> 
    44#include <iostream> 
     5#include "exception.hpp" 
     6 
    57using namespace std ; 
     8using namespace xios ; 
     9 
    610extern "C" 
    711{ 
     
    5256 
    5357Line: 
    54      END                           { cout<<"The end: \n"; } 
    55    | Field_expr END { cout<<"Parsed  END..."<<endl ; parsed=$1 ;} 
     58     END                           { } 
     59   | Field_expr END { parsed=$1 ;} 
    5660   ; 
    5761 
     
    96100  int yyerror(const char *s)  
    97101  { 
    98     cout<<"Parsing error :"<<s<<endl ;  
     102    ERROR("int yyerror(const char *s)", <<"Parsing error :"<<s<<endl) ;  
    99103  } 
    100104} 
     
    104108  CSimpleNodeExpr* parseExpr(const string& strExpr) 
    105109  { 
    106     cout<<strExpr<<endl ; 
    107110    globalInputText=strExpr ; 
    108111    globalReadOffset=0 ; 
Note: See TracChangeset for help on using the changeset viewer.