| Server IP : 216.92.14.13 / Your IP : 216.73.216.171 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/scons/SCons/Tool/ |
Upload File : |
� �b3Qc @ s� d Z d Z d d l Z d d l Z d d l Z d d l Z e j j d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d S( 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. s8 src/engine/SCons/Tool/yacc.py 2013/03/03 09:48:35 garyoi����Ns $YACCCOMs $YACCCOMSTRc C s� | j d d | d | �} t j j | � } t j j t j j | d � � \ } } d | k rq | d g } n d | k r� | j | | j | d | d | �� n d | k r� t j j t j j | d � � \ } } | j | | j d � � n d | k r6| j | d | d � | j | d | d � n d d g } x[ | D]S } xJ | D]B } t | � } | | | k rV| | j � } | j | � qVqVWqIW| | f S( Ns $YACCFLAGSt targett sourcei s .yms .ms -ds -gs $YACCVCGFILESUFFIXs -vs .outputs --defines=s --graph=( t substt SConst Utilt CLVart ost patht splitextt to_Stringt appendt SideEffectt Cleant lent strip( R R t envt ysuft hsuft yaccflagst flagst targetBaset targetExtt baset extt fileGenOptionst optiont fileGenOptiont lt fileName( ( s! /usr/lib/scons/SCons/Tool/yacc.pyt _yaccEmitter, s* ()( c C s t | | | d d g d � S( Ns .ys .yaccs $YACCHFILESUFFIX( R ( R R R ( ( s! /usr/lib/scons/SCons/Tool/yacc.pyt yEmitterX s c C s t | | | d g d � S( Ns .yms $YACCHFILESUFFIX( R ( R R R ( ( s! /usr/lib/scons/SCons/Tool/yacc.pyt ymEmitter[ s c C s t | | | d g d � S( Ns .yys $YACCHXXFILESUFFIX( R ( R R R ( ( s! /usr/lib/scons/SCons/Tool/yacc.pyt yyEmitter^ s c C s� t j j | � \ } } | j d t � | j d t � | j d t � | j d t � | j d t � | j d t � | j d t � | j d t � | j d � p� d | d <t j j d � | d <d | d <d | d <d | d <d | d <d S( sC Add Builders and construction variables for yacc to an Environment.s .ys .yaccs .yms .yyt bisont yacct YACCt t YACCFLAGSs$ $YACC $YACCFLAGS -o $TARGET $SOURCESt YACCCOMs .ht YACCHFILESUFFIXs .hppt YACCHXXFILESUFFIXs .vcgt YACCVCGFILESUFFIXN( R t Toolt createCFileBuilderst add_actiont YaccActiont add_emitterR R R t DetectR R ( R t c_filet cxx_file( ( s! /usr/lib/scons/SCons/Tool/yacc.pyt generatea s c C s | j d d g � S( NR! R"