Commit 6f283e19 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(Template for ram-output.c): Corrections to function names etc.

(Template for ram-parse.c): Ditto. (Bug 814).
parent 466c2442
\input texinfo \input texinfo
@c $Id: lyskomd.texi,v 1.49 2002/08/16 00:24:02 ceder Exp $ @c $Id: lyskomd.texi,v 1.50 2002/10/06 21:31:32 ceder Exp $
@c %**start of header @c %**start of header
@setfilename lyskomd.info @setfilename lyskomd.info
@include version.texi @include version.texi
...@@ -2179,7 +2179,7 @@ foutput_@var{something}_1(FILE *fp, @var{something} *o) ...@@ -2179,7 +2179,7 @@ foutput_@var{something}_1(FILE *fp, @var{something} *o)
@} @}
static void static void
foutput_info_2(FILE *fp, @var{something} *o) foutput_@var{something}_2(FILE *fp, @var{something} *o)
@{ @{
/* Output version 2 of @var{something} */ /* Output version 2 of @var{something} */
@} @}
...@@ -2205,7 +2205,7 @@ void foutput_@var{something}(FILE *fp, @var{something} *o) ...@@ -2205,7 +2205,7 @@ void foutput_@var{something}(FILE *fp, @var{something} *o)
@} @}
@end example @end example
Note that if two versions are the same, only write one functions. For Note that if two versions are the same, only write one function. For
example, if version 0 and version 1 are the same, only write an example, if version 0 and version 1 are the same, only write an
@code{foutput_@var{something}_0} function and call it from both case 0 @code{foutput_@var{something}_0} function and call it from both case 0
and case 1. and case 1.
...@@ -2240,7 +2240,7 @@ fparse_@var{something}(FILE *fp, @var{something} *o) ...@@ -2240,7 +2240,7 @@ fparse_@var{something}(FILE *fp, @var{something} *o)
@{ @{
if ( fparse_long_errors != 0 ) if ( fparse_long_errors != 0 )
@{ @{
log("fparse_info(): fparse_long_errors == %d on entry. Reset.\n", log("fparse_@var{something}(): fparse_long_errors == %d on entry. Reset.\n",
fparse_long_errors); fparse_long_errors);
fparse_long_errors = 0; fparse_long_errors = 0;
@} @}
...@@ -2264,7 +2264,7 @@ fparse_@var{something}(FILE *fp, @var{something} *o) ...@@ -2264,7 +2264,7 @@ fparse_@var{something}(FILE *fp, @var{something} *o)
@} @}
@end example @end example
Note that if two versions are the same, only write one functions. For Note that if two versions are the same, only write one function. For
example, if version 0 and version 1 are the same, only write an example, if version 0 and version 1 are the same, only write an
@code{fparse_@var{something}_0} function and call it from both case 0 @code{fparse_@var{something}_0} function and call it from both case 0
and case 1. and case 1.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment