Author: allison
Date: Mon Jan 21 14:06:19 2008
New Revision: 25111
Modified:
trunk/docs/pdds/draft/pdd19_pir.pod
Log:
[pdd] Applying pdd patch adding #line annotation, resolving RT#47141.
Modified: trunk/docs/pdds/draft/pdd19_pir.pod
==============================================================================
--- trunk/docs/pdds/draft/pdd19_pir.pod (original)
+++ trunk/docs/pdds/draft/pdd19_pir.pod Mon Jan 21 14:06:19 2008
@@ -359,6 +359,20 @@
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]. }}
+=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, 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