diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-17 19:39:52 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-17 19:39:52 +0000 |
commit | 8a0efa53e44919bcf5ccb1d3353618a82afdf8bc (patch) | |
tree | 68c3dbf3f2c6fd5d49777def9914d77b5cd4589d /newlib/doc/doc.str | |
parent | 1fd5e000ace55b323124c7e556a7a864b972a5c4 (diff) | |
download | cygnal-8a0efa53e44919bcf5ccb1d3353618a82afdf8bc.tar.gz cygnal-8a0efa53e44919bcf5ccb1d3353618a82afdf8bc.tar.bz2 cygnal-8a0efa53e44919bcf5ccb1d3353618a82afdf8bc.zip |
import newlib-2000-02-17 snapshot
Diffstat (limited to 'newlib/doc/doc.str')
-rw-r--r-- | newlib/doc/doc.str | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/newlib/doc/doc.str b/newlib/doc/doc.str new file mode 100644 index 000000000..4d557c6f5 --- /dev/null +++ b/newlib/doc/doc.str @@ -0,0 +1,178 @@ +: nokill_bogus_lines ; + +: ENDDD + skip_past_newline + ; + +: TABLE + skip_past_newline + "@table @code\n" catstr + ; + +: ENDTABLE + skip_past_newline + "@end table\n" + catstr + ; + +: QUICKREF + skip_past_newline + get_stuff_in_command + "&&~&&~&&\cr\tablerule\n" + quickref + ; + + +: ITEM + "@item " catstr ; + +: EXAMPLE + skip_past_newline + + get_stuff_in_command nokill_bogus_lines translatecomments + courierize catstr + + ; + +: INODE + "@node " catstr skip_past_newline copy_past_newline catstr + ; + +: CODE_FRAGMENT + EXAMPLE + ; + +: SYNOPSIS + skip_past_newline + "@strong{Synopsis}\n" catstr + "@example\n" catstr + get_stuff_in_command + do_fancy_stuff + nokill_bogus_lines + indent + catstr + "@end example\n" catstr + + ; + + +: ANSI_SYNOPSIS + skip_past_newline + "@strong{Synopsis}\n" catstr + "@example\n" catstr + get_stuff_in_command + do_fancy_stuff + nokill_bogus_lines + indent + catstr + "@end example\n" catstr + + ; + +: OLDTRAD_SYNOPSIS + skip_past_newline + "@strong{Traditional Synopsis}\n" catstr + "@example\n" catstr + get_stuff_in_command + do_fancy_stuff + nokill_bogus_lines + indent + catstr + "@end example\n" catstr + + ; + +: TRAD_SYNOPSIS + skip_past_newline + + ; + +: INDEX + "@findex " skip_past_newline copy_past_newline catstr catstr + ; + +: FUNCTION + "@node " - a + skip_past_newline + copy_past_newline + dup - a x x + get_stuff_in_angle -a x y + swap + do_fancy_stuff + "@section " - a x x b + swap + remchar + "\n" - a x b x c + catstr catstr catstr catstr catstr + ; + +: bodytext + get_stuff_in_command + bulletize + courierize + do_fancy_stuff + catstr + "@*\n" catstr + ; + +: asection + skip_past_newline + catstr + copy_past_newline + do_fancy_stuff catstr + bodytext + ; + +: SECTION + "@section " asection ; + +: SUBSECTION + "@section " asection ; + +: SUBSUBSECTION + "@subsection " asection ; + +: subhead + skip_past_newline + bodytext + ; + + + +: DESCRIPTION + "@strong{Description}@*\n" catstr subhead ; + +: RETURNS + "@strong{Returns}@*\n" catstr subhead ; + +: ERRORS + "@strong{Errors}@*\n" catstr subhead ; + + +: PORTABILITY + "@strong{Portability}@*\n" catstr subhead ; + + +: WARNINGS + "@strong{Warnings}@*\n" catstr subhead ; + + + +: INTERNAL_FUNCTION + func ; + + +: INTERNAL_DEFINITION + func ; + + +: INTERNAL + func ; + +: TYPEDEF + FUNCTION ; + + + +: NEWPAGE + "@page\n" catstr subhead ; |