/[ascend]/trunk/base/generic/compiler/SConscript
ViewVC logotype

Diff of /trunk/base/generic/compiler/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 501 by johnpye, Tue Apr 18 08:07:13 2006 UTC revision 502 by johnpye, Tue Apr 18 12:57:30 2006 UTC
# Line 28  csrcs = Split(""" Line 28  csrcs = Split("""
28  # SLOPPY sources. This is a painful hack that should be fixed using 'config.h' style solution.  # SLOPPY sources. This is a painful hack that should be fixed using 'config.h' style solution.
29    
30  import platform  import platform
31  if env['HAVE_YACC']:  if env.has_key('HAVE_YACC'):
32      parsersource = 'ascParse.y'      parsersource = 'ascParse.y'
33      parserheader = 'ascParse.h'      parserheader = 'ascParse.h'
34  else:  else:
35      parsersource = 'ascParse_no_yacc.c'      parsersource = 'ascParse_no_yacc.c'
36      parserheader = 'ascParse_no_yacc.h'      parserheader = 'ascParse_no_yacc.h'
37    
38  if env['HAVE_LEX']:  if env.has_key('HAVE_LEX'):
39      scannersource = 'scanner.l'      scannersource = 'scanner.l'
40  else:  else:
41      scannersource = 'scanner_no_flex.c'      scannersource = 'scanner_no_flex.c'

Legend:
Removed from v.501  
changed lines
  Added in v.502

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22