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

Diff of /trunk/ascend/compiler/SConscript

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

revision 2325 by jpye, Wed Dec 15 06:12:36 2010 UTC revision 2326 by jpye, Tue Dec 21 11:35:07 2010 UTC
# Line 49  else: Line 49  else:
49    
50  if scanparse_env.has_key('HAVE_LEX'):  if scanparse_env.has_key('HAVE_LEX'):
51      scannersource = libascend_env.CFile('scanner.l',LEXFLAGS=['-l','-Pzz_'])      scannersource = libascend_env.CFile('scanner.l',LEXFLAGS=['-l','-Pzz_'])
52        libascend_env.Depends(scannersource,parsersource)
53      # backup the lex output for use by people without lex:      # backup the lex output for use by people without lex:
54      if libascend_env.get('UPDATE_NO_YACC_LEX'):      if libascend_env.get('UPDATE_NO_YACC_LEX'):
55          libascend_env.Command('scanner_no_lex.c',scannersource,Copy('$TARGET','$SOURCE'))          libascend_env.Command('scanner_no_lex.c',scannersource,Copy('$TARGET','$SOURCE'))

Legend:
Removed from v.2325  
changed lines
  Added in v.2326

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