зеркало из https://github.com/mozilla/pjs.git
17 строки
361 B
Awk
17 строки
361 B
Awk
#
|
|
# This requires -vpackage_name=name.of.the.package -vvalue=[true|false]
|
|
#
|
|
|
|
BEGIN{
|
|
print
|
|
print "/* generated by gen_dbg.awk to set DEBUG on or off */"
|
|
print
|
|
print "package "package_name";"
|
|
print
|
|
print "public interface AS"
|
|
print "{"
|
|
print " public static final boolean S = "value";"
|
|
print " public static final boolean DEBUG = "value";"
|
|
print "}"
|
|
}
|