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')) |