Author: kjs
Date: Thu Dec 13 04:22:18 2007
New Revision: 23841

Modified:
   trunk/docs/pdds/draft/pdd19_pir.pod

Log:
[pdd19]
add #line directive. Also add a proposal to change this into .line. (ticket 
ref. included).

Modified: trunk/docs/pdds/draft/pdd19_pir.pod
==============================================================================
--- trunk/docs/pdds/draft/pdd19_pir.pod (original)
+++ trunk/docs/pdds/draft/pdd19_pir.pod Thu Dec 13 04:22:18 2007
@@ -355,6 +355,21 @@
 End a compilation unit containing PASM code. Always paired with
 C<.emit>.
 
+
+=item #line <integer> <string>
+
+Set the line number and filename to the value specified. This is useful in
+case the PIR code is generated from some source file, and any error messages
+should print the source file's location, not the line number and filename of
+the generated file.
+
+{{ PROPOSAL: Change this to:
+
+ .line <integer> ',' <string>
+
+which is more consistent, and not as confusing as #line, which looks as a 
comment.
+Also, the #line directive must be at the beginning of the line. See 
[RT#45857]. }}
+
 =back
 
 =head3 Subroutine flags

Reply via email to