comment clarification

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@386 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent a663b373a4
commit 7e01560a5f
  1. 14
      jode/jcpp

@ -1,11 +1,12 @@
#!/usr/bin/perl #!/usr/bin/perl
#
# This is a program to allow preprocessing of java files. The key idea is, # This is a program to allow conditional compiled code in java files.
# not to have a file that must go through the preprocessor, but to work on # The key idea is, not to run the file always through the
# the java files directly and make use of comments. # preprocessor, but to modify the java files directly and make use of
# comments.
# #
# The comments all have the form /// to distinguish them from normal # The comments all have the form /// to distinguish them from normal
# comments. You should use such comments yourself. # comments. You should not use such comments yourself.
# #
# Usage is simple: jcpp -Ddefine1 -Ddefine2 first.java second.java # Usage is simple: jcpp -Ddefine1 -Ddefine2 first.java second.java
# The files should contain comments of the form # The files should contain comments of the form
@ -106,7 +107,7 @@ for (@files) {
# remove comments in true branch; # remove comments in true branch;
print NEW "$line\n"; print NEW "$line\n";
} else { } else {
# print out with directly: # print out the full line with comments:
print NEW $_; print NEW $_;
} }
} else { } else {
@ -119,4 +120,3 @@ for (@files) {
} }
} }
} }

Loading…
Cancel
Save