³ò ”,9Mc@sdZdZddkZddkZddkZddkZdeiifd„ƒYZ d„Z dd d„ƒYZ d „Z dS( sPSCons.Scanner.C This module implements the depenency scanner for C/C++ code. s<src/engine/SCons/Scanner/C.py 4629 2010/01/17 22:23:21 sconsiÿÿÿÿNtSConsCPPScannercBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(sÜ SCons-specific subclass of the cpp.py module's processing. We subclass this so that: 1) we can deal with files represented by Nodes, not strings; 2) we can keep track of the files that are missing. cOs-ttiii|f||ƒg|_dS(N(tapplytSConstcppt PreProcessort__init__tmissing(tselftargstkw((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pyR.s cCstii|gƒ|_dS(N(RtUtilt UniqueListtresult(Rtfname((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pytinitialize_result1scCs |idS(Ni(R (RR ((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pytfinalize_result3scCsV|\}}}tiii||i|ƒ}|p|ii||ifƒn|S(N(RtNodetFSt find_filet searchpathRtappendt current_file(RtttkeywordtquoteR R ((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pytfind_include_file5s cCs_ytt|iƒƒƒ}Wn2tj o&}|ii||ifƒdSn X|iƒSdS(Nt(topentstrtrfiletEnvironmentErrorRRRtread(Rtfiletfpte((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pyt read_file;s  (t__name__t __module__t__doc__RRRRR#(((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pyR&s     cCs´|idhƒ}|djohSntii|ƒoRh}xA|D]9}tii|ƒo|d||d"]+)(>|")(RR2t ClassicCPP(tcs((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pyREps  (( R&t __revision__t SCons.Node.FSRt SCons.Scannert SCons.Utilt SCons.cppRRRR/R0RE(((s4install/lib/scons-1.2.0.d20100117/SCons/Scanner/C.pyss