# 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 { }