2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00
Files
build/test/generators-test/lex.jam
2004-09-10 11:46:22 +00:00

26 lines
664 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
{
}