Skip to content

Commit

Permalink
documentation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ge-ne committed Oct 30, 2016
1 parent 284fd60 commit 2f5b2be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions doc/c_get.pl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ sub analyze_file
s/\\_//go;
if ( $head{$name} eq '' ) { $n = "\\Mac{$name}"; }
else { $n = $head{$name}; }
$n =~ s/([^\\])_/$1\\_/g;
print "\\begin{Macro}{$n}{$_}\n \\begin{Arguments}";
foreach $a (@a)
{ print "\n & \\Var{$a} & $arg{$a}\\\\";
Expand Down Expand Up @@ -231,6 +232,7 @@ sub analyze_file
$t = $1;
$c = $3;
s/_/\\_/go;
$t =~ s/_/\\_/g;
print "$NL $t\\ \t&\\Member{$_};\t& $c";
$NL = "\\\\\n";
} elsif ( /^[ {]*([a-zA-Z_][^(]*[^a-zA-Z0-9_(])([a-zA-Z0-9_]+);/o )
Expand Down
6 changes: 3 additions & 3 deletions print.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
** If no appropriate value is found then an error message
** is issued as the only action.
**
** This function is called from \file{rsc.c}.
** This function is called from \File{rsc.c}.
** Arguments:
** s String description of the value.
** Returns: nothing
Expand All @@ -109,8 +109,8 @@ void set_symbol_type(s) /* */
** Type: String
** Purpose: Getter for the symbol type.
** Arguments: none
** Returns: one of the values |SYMBOL_TYPE_UPPER|, |SYMBOL_TYPE_LOWER|,
** or |SYMBOL_TYPE_CASED| as defined in header \file{type.h}
** Returns: one of the values SYMBOL\_TYPE\_UPPER, SYMBOL\_TYPE\_LOWER,
** or SYMBOL\_TYPE\_CASED as defined in header \textsf{type.h}
**___________________________________________________ */
String get_symbol_type() /* */
{ switch (symbol_type) /* */
Expand Down

0 comments on commit 2f5b2be

Please sign in to comment.