* [patch] doc/pmacros.texi
@ 2001-10-13 2:47 johan rydberg
2001-11-15 19:16 ` johan rydberg
0 siblings, 1 reply; 2+ messages in thread
From: johan rydberg @ 2001-10-13 2:47 UTC (permalink / raw)
To: cgen
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
Well. I do not know if comments for pmacros is deprecated, but if not,
here's a small patch that documents the argument.
2001-11-16 Johan Rydberg <johan@rydberg.com>
* doc/pmacros.texi (Defining a preprocessor macro): Document
"comment" argument for (define-pmacro ...).
--
Johan Rydberg
$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
THEN EXCUSE/OBJECT=ME
[-- Attachment #2: pmacros.texti-patch --]
[-- Type: application/octet-stream, Size: 912 bytes --]
Index: pmacros.texi
===================================================================
RCS file: /cvs/src/src/cgen/doc/pmacros.texi,v
retrieving revision 1.2
diff -u -u -r1.2 pmacros.texi
--- pmacros.texi 2001/03/19 03:36:24 1.2
+++ pmacros.texi 2001/11/16 02:58:22
@@ -37,7 +37,7 @@
Preprocessor macros are defined with:
@smallexample
-(define-pmacro (name parm1 parm2 ... parmN)
+(define-pmacro (name parm1 parm2 ... parmN) [comment]
expansion
)
@end smallexample
@@ -45,7 +45,7 @@
The result is @samp{expansion} with parameters replaced with the actual
arguments of the macro invocation. Free variables are left unchanged.
[A "free variable", as defined here, is one that doesn't appear in the
-parameter list.]
+parameter list.] @samp{comment} is an optional string.
@c ??? This used to be true, but currently isn't.
@c If the result is another macro invocation, it is expanded in turn.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [patch] doc/pmacros.texi
2001-10-13 2:47 [patch] doc/pmacros.texi johan rydberg
@ 2001-11-15 19:16 ` johan rydberg
0 siblings, 0 replies; 2+ messages in thread
From: johan rydberg @ 2001-11-15 19:16 UTC (permalink / raw)
To: cgen
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Well. I do not know if comments for pmacros is deprecated, but if not,
here's a small patch that documents the argument.
2001-11-16 Johan Rydberg <johan@rydberg.com>
* doc/pmacros.texi (Defining a preprocessor macro): Document
"comment" argument for (define-pmacro ...).
--
Johan Rydberg
$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
THEN EXCUSE/OBJECT=ME
[-- Attachment #2: pmacros.texti-patch --]
[-- Type: text/x-diff, Size: 912 bytes --]
Index: pmacros.texi
===================================================================
RCS file: /cvs/src/src/cgen/doc/pmacros.texi,v
retrieving revision 1.2
diff -u -u -r1.2 pmacros.texi
--- pmacros.texi 2001/03/19 03:36:24 1.2
+++ pmacros.texi 2001/11/16 02:58:22
@@ -37,7 +37,7 @@
Preprocessor macros are defined with:
@smallexample
-(define-pmacro (name parm1 parm2 ... parmN)
+(define-pmacro (name parm1 parm2 ... parmN) [comment]
expansion
)
@end smallexample
@@ -45,7 +45,7 @@
The result is @samp{expansion} with parameters replaced with the actual
arguments of the macro invocation. Free variables are left unchanged.
[A "free variable", as defined here, is one that doesn't appear in the
-parameter list.]
+parameter list.] @samp{comment} is an optional string.
@c ??? This used to be true, but currently isn't.
@c If the result is another macro invocation, it is expanded in turn.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-16 3:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-13 2:47 [patch] doc/pmacros.texi johan rydberg
2001-11-15 19:16 ` johan rydberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).