³ò ”,9Mc@s—dZdZddkZddkZddkZddkZddkZei i ddƒZ d„Z d„Z d„Z d „Zd „Zd „ZdS( sÓSCons.Tool.yacc Tool-specific initialization for yacc. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. s<src/engine/SCons/Tool/yacc.py 4629 2010/01/17 22:23:21 sconsiÿÿÿÿNs$YACCCOMs $YACCCOMSTRcCsv|idd|d|ƒ}tii|ƒ}tiitii|dƒƒ\}}d|jo|dg}nd|jo*|i||i|d|d|ƒƒnd|joFtiitii|dƒƒ\} } |i| |id ƒƒnd d g} x`|D]X} xO| D]G} t | ƒ}| | | jo$t i | |ƒ}|i|ƒqqWqW||fS( Ns $YACCFLAGSttargettsourceis.yms.ms-ds-gs$YACCVCGFILESUFFIXs --defines=s--graph=( tsubsttSConstUtiltCLVartostpathtsplitextt to_Stringtappendtlentstringtstrip(RRtenvtysufthsuft yaccflagstflagst targetBaset targetExttbasetexttfileGenOptionstoptiont fileGenOptiontltfileName((s4install/lib/scons-1.2.0.d20100117/SCons/Tool/yacc.pyt _yaccEmitter-s((  * (  cCst|||ddgdƒS(Ns.ys.yaccs$YACCHFILESUFFIX(R(RRR((s4install/lib/scons-1.2.0.d20100117/SCons/Tool/yacc.pytyEmitterOscCst|||dgdƒS(Ns.yms$YACCHFILESUFFIX(R(RRR((s4install/lib/scons-1.2.0.d20100117/SCons/Tool/yacc.pyt ymEmitterRscCst|||dgdƒS(Ns.yys$YACCHXXFILESUFFIX(R(RRR((s4install/lib/scons-1.2.0.d20100117/SCons/Tool/yacc.pyt yyEmitterUscCsôtii|ƒ\}}|idtƒ|idtƒ|idtƒ|idtƒ|idtƒ|idtƒ|idtƒ|idtƒ|i dƒpd|d s      "    $