Ñò rê$Lc@s„dZdZddkZddkZddkZddkZdeiifd„ƒYZ d„Z de fd„ƒYZ d „Z dS( sPSCons.Scanner.C This module implements the depenency scanner for C/C++ code. s<src/engine/SCons/Scanner/C.py 5023 2010/06/14 22:05:46 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&tiii|||Žg|_dS(N(tSConstcppt PreProcessort__init__tmissing(tselftargstkw((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pyR.scCstii|gƒ|_dS(N(RtUtilt UniqueListtresult(Rtfname((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pytinitialize_result1scCs |idS(Ni(R (RR ((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pytfinalize_result3scCsV|\}}}tiii||i|ƒ}|p|ii||ifƒn|S(N(RtNodetFSt find_filet searchpathRtappendt current_file(RtttkeywordtquoteR R ((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pytfind_include_file5s cCs\ytt|iƒƒƒ}Wn/tj o#}|ii||ifƒdSX|iƒSdS(Nt(topentstrtrfiletEnvironmentErrorRRRtread(Rtfiletfpte((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pyt read_file;s (t__name__t __module__t__doc__RR RRR"(((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pyR&s     cCs©|idhƒ}|djohStii|ƒoOh}xA|D]9}tii|ƒo|d||d"]+)(>|")(RR1t ClassicCPP(tcs((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pyRDps  (R%t __revision__t SCons.Node.FSRt SCons.Scannert SCons.Utilt SCons.cppRRRR.tobjectR/RD(((s2install/lib/scons-2.0.0.final.0/SCons/Scanner/C.pyts