mirror of
git://repo.or.cz/tinycc.git
synced 2026-11-04 21:26:36 +08:00
doc: update tcc-doc.texi to match current implementation
Some checks failed
build and test / test-x86_64-linux (push) Has been cancelled
build and test / test-x86_64-osx (push) Has been cancelled
build and test / test-aarch64-osx (push) Has been cancelled
build and test / test-x86_64-win32 (push) Has been cancelled
build and test / test-i386-win32 (push) Has been cancelled
build and test / test-arm64-win32 (push) Has been cancelled
build and test / test-armv7-linux (push) Has been cancelled
build and test / test-aarch64-linux (push) Has been cancelled
build and test / test-riscv64-linux (push) Has been cancelled
build and test / test-i386-linux (push) Has been cancelled
Some checks failed
build and test / test-x86_64-linux (push) Has been cancelled
build and test / test-x86_64-osx (push) Has been cancelled
build and test / test-aarch64-osx (push) Has been cancelled
build and test / test-x86_64-win32 (push) Has been cancelled
build and test / test-i386-win32 (push) Has been cancelled
build and test / test-arm64-win32 (push) Has been cancelled
build and test / test-armv7-linux (push) Has been cancelled
build and test / test-aarch64-linux (push) Has been cancelled
build and test / test-riscv64-linux (push) Has been cancelled
build and test / test-i386-linux (push) Has been cancelled
Most of the manual predates the x86-64, ARM64, RISC-V 64 and Mach-O targets, and parts of it describe things TCC never did or no longer does. Go through it against the sources: the target table, the C11 and GNU C extensions, the attributes, built-ins and pragmas, the command line options and their defaults, the assembler and linker chapters, the bound checks and the libtcc call sequence. The developer's guide had drifted the most, from CType and Sym.type down to gfunc_call() and next_c(), and is resynced as well. The option groups become @subheading instead of plain text. texi2pod.pl has no handler for it and would copy them verbatim into tcc.1, so add one beside the @subsection handler, and move '@c man begin OPTIONS' above the first heading so that all of them reach the man page.
This commit is contained in:
parent
64552b3faa
commit
2ba12e83b3
830
tcc-doc.texi
830
tcc-doc.texi
File diff suppressed because it is too large
Load Diff
@ -239,6 +239,8 @@ while(<$inf>) {
|
|||||||
and $_ = "\n=head2 $1\n";
|
and $_ = "\n=head2 $1\n";
|
||||||
/^\@subsection\s+(.+)$/
|
/^\@subsection\s+(.+)$/
|
||||||
and $_ = "\n=head3 $1\n";
|
and $_ = "\n=head3 $1\n";
|
||||||
|
/^\@subheading\s+(.+)$/
|
||||||
|
and $_ = "\n=head3 $1\n";
|
||||||
|
|
||||||
# Block command handlers:
|
# Block command handlers:
|
||||||
/^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
|
/^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user