cvsuser 02/06/21 22:10:06
Modified: . assemble.pl
Log:
Added documentation for the -E option.
Revision Changes Path
1.75 +5 -0 parrot/assemble.pl
Index: assemble.pl
===================================================================
RCS file: /cvs/public/parrot/assemble.pl,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -w -r1.74 -r1.75
--- assemble.pl 17 Jun 2002 03:18:17 -0000 1.74
+++ assemble.pl 22 Jun 2002 05:10:06 -0000 1.75
@@ -13,6 +13,10 @@
and collects the numeric and string constants along with the definition points
and PCs of labels.
+If you would like to view the text after the macro expansion pass, use the C<-E>
+flag. This flag simply tells the assembler to quit after the C<Macro> class
+does it thing.
+
The final pass replaces label occurrences with the appropriate PC offset and
accumulates the (finally completely numeric) bytecode onto the output string.
The XS portion takes the constants and bytecode, generates a header, tacks the
@@ -927,6 +931,7 @@
print <<" _EOF_";
usage: $0 [options] file [file...]
+ -E Preprocess input files and terminate processing
-h,--help Print this message
-o,--output Write file
-c,-checksyntax Check syntax only, do not generate bytecode