aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch.c
Commit message (Collapse)AuthorAgeFilesLines
* Add OpenBSD riscv64 architecture; patch from jsg@.Ingo Schwarze2021-05-131-2/+2
| | | | While here, retire sgi and socppc.
* Support the "powerpc64" architecture name.Ingo Schwarze2020-06-291-2/+2
| | | | The first file using it in .Dt was just committed by kettenis@.
* socppc makes an extended visit to the bigbucket;Ingo Schwarze2019-05-211-2/+2
| | | | patch from deraadt@; OK kettenis
* When the -S option is given to man(1) and the requested manual pageIngo Schwarze2019-03-041-0/+54
| | | | | | | | | | | | name is not found and the requested architecture is unknown, complain about the architecture rather than about the manual page name: $ man -S vax cpu man: Unknown architecture "vax". $ man -S sparc64 foobar man: No entry for foobar in the manual. Friendlier error message suggested by jmc@, who also OK'ed the patch.
* Drop useless architecture table. Validating architecture namesIngo Schwarze2014-11-281-37/+0
| | | | | | is a job for makewhatis(8)/mandoc.db(5), not for the parser. Removes 150 lines from source files and 4k (1%) from the binary. Bloat found by deraadt@.
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-101-3/+3
| | | | | | Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing.
* KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze2014-04-201-2/+3
| | | | | remove trailing whitespace and blanks before tabs, improve some indenting; no functional change
* The files mandoc.c and mandoc.h contained both specialised low-levelIngo Schwarze2014-03-231-4/+1
| | | | | | | functions used for multiple languages (mdoc, man, roff), for example mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary functions. Split the auxiliaries out into their own file and header. While here, do some #include cleanup.
* libmdoc.h and libman.h were including mdoc.h and man.h, respectively.Kristaps Dzonsons2011-03-221-1/+2
| | | | | Don't have them do that (includes in header files = faugh), and have individual files directly include these files.
* Churn as I finish email address migration kth.se -> bsd.lv.Kristaps Dzonsons2010-06-191-2/+2
|
* Enable the unified error/warning enumeration in mandoc.h that'sKristaps Dzonsons2010-05-171-1/+2
| | | | | | | | | | | stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-1/+5
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added time.h to various files for FreeBSD compilation (thanks Ulrich Sporlein).Kristaps Dzonsons2009-10-261-1/+2
|
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-2/+2
| | | | Abstraction of mdoc.
* Fixed mdoc_phrase escape handling.Kristaps Dzonsons2009-03-161-0/+34
Added MDOC_IGNDELIM (Pf, soon Li, etc.). macro_constant_delimited ignargs -> argv.c parsing. Renamed macro functions to correspond to ontologies. `Fo' and `St' made callable (compat documented). strings.sh deprecated (directly using CPP). Abstracted ASCII translation into ascii.{c,in}. ASCII table uses a self-reordering chained hashtable. Removed old regressions.