2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Files
build/test/generators-test/lex.jam
Vladimir Prus 70758d42ea Unbreak generators_test:
- rename UI type to TUI to avoid conflicts with Qt
- adjust to print.text changes


[SVN r31645]
2005-11-14 14:36:45 +00:00

27 lines
665 B
Plaintext

# Copyright (C) Vladimir Prus 2002. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.
import type ;
import generators ;
import feature ;
import property ;
import print ;
type.register LEX : l ;
generators.register-standard lex.lex : LEX : C ;
rule lex ( targets * : sources * : properties * )
{
print.output $(<) ;
# Need to supress SunCC's warning about empty source
# file.
print.text "void foo() {}
" ;
}
actions lex
{
}