/*************************************************************************/
/*                                                                       */
/*        Produced by MetaGen version 2.0  -    1989-1995                 */
/*       Syntaxic Analyzer Meta Generator developped by                  */
/*                  Eric Lavillonniere                                   */
/*                                                                       */
/*************************************************************************/

#include "token.h"
#include "bidon.h"


#line 7 "riri.met"
PPTREE bidon::toto ( int error_free)
#line 7 "riri.met"
{
#line 7 "riri.met"
    int  _oldaha = aha;
#line 7 "riri.met"
    PFILE_POSITION _filePosition = (PFILE_POSITION) 0;

#line 7 "riri.met"
    int _value,_nbPre = 0 ;
#line 7 "riri.met"
    PCOMM_ELEM _ptPreComm = (1,listComm?LookComm(&_nbPre):(_funcLevel++,(PCOMM_ELEM)0));
#line 7 "riri.met"
    int _Debug = TRACE_RULE("toto",TRACE_ENTER,(PPTREE)0);
#line 7 "riri.met"
    PPTREE lastTree = _lastTree,_retValue ;
#line 7 "riri.met"
#line 8 "riri.met"
    {
#line 8 "riri.met"
        aha = 1 ;
#line 8 "riri.met"
#line 9 "riri.met"
        (tokenAhead == 1|| (Lex(),TRACE_LEX(1)));
#line 9 "riri.met"
        if ( ! TERM_OR_META(BIDON,"bidon") || !(CommTerm(),1)) 
#line 9 "riri.met"
            TOKEN_EXIT(toto_exit,"bidon")
#line 9 "riri.met"
        aha =  _oldaha;
#line 9 "riri.met"
    }
#line 9 "riri.met"
#line 10 "riri.met"
1;
#line 10 "riri.met"
if (_nbPre || listComm) AddComm(_ptPreComm,_nbPre,(PPTREE) 0,lastTree); else {_lastTree=(PPTREE)0;_funcLevel--;}
#line 10 "riri.met"
aha =  _oldaha;
#line 10 "riri.met"
return((PPTREE) 0);
#line 10 "riri.met"

#line 10 "riri.met"
toto_exit :
#line 10 "riri.met"

#line 10 "riri.met"
    _Debug = TRACE_RULE("toto",TRACE_EXIT,(PPTREE)0);
#line 10 "riri.met"
    _funcLevel--;
#line 10 "riri.met"
    aha =  _oldaha;
#line 10 "riri.met"
    return((PPTREE) -1) ;
#line 10 "riri.met"

#line 10 "riri.met"
toto_ret :
#line 10 "riri.met"
    
#line 10 "riri.met"
    _Debug = TRACE_RULE("toto",TRACE_RETURN,_retValue);
#line 10 "riri.met"
    1;
#line 10 "riri.met"
    if (_nbPre || listComm) AddComm(_ptPreComm,_nbPre,_retValue,lastTree); else {_lastTree=_retValue;_funcLevel--;}
#line 10 "riri.met"
    aha =  _oldaha;
#line 10 "riri.met"
    return _retValue ;
#line 10 "riri.met"
}
#line 10 "riri.met"

#line 10 "riri.met"
