summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
Commit message (Expand)AuthorAgeFilesLines
* First step towards parser unification:Ingo Schwarze2015-04-021-5/+6
* fix column numbers of macro arguments in messagesIngo Schwarze2015-02-041-2/+2
* Provide a helper function macro_or_word() and use it to prune theIngo Schwarze2014-11-291-11/+6
* Fold the loop around mdoc_argv() into the function itself,Ingo Schwarze2014-11-281-70/+77
* Simplify the code by making various mdoc parser helper functions void.Ingo Schwarze2014-11-281-22/+12
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-101-2/+0
* Clean up messages related to plain text and to escape sequences.Ingo Schwarze2014-07-061-4/+8
* Implement the obsolete macros .En .Es .Fr .Ot for backward compatibility,Ingo Schwarze2014-07-021-3/+3
* Audit malloc(3)/calloc(3)/realloc(3) usage.Ingo Schwarze2014-04-231-4/+4
* KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze2014-04-201-45/+45
* Implement the roff(7) .ll (line length) request.Ingo Schwarze2014-03-301-0/+1
* The files mandoc.c and mandoc.h contained both specialised low-levelIngo Schwarze2014-03-231-0/+1
* s/[Nn]ull/NUL/ in comments where appropriate;Ingo Schwarze2013-12-251-3/+3
* Fix end-of-sentence spacing after the DragonFly text production macro.Ingo Schwarze2013-12-221-1/+1
* In quoted macro arguments, double quotes can be quoted by doubling them.Ingo Schwarze2013-12-151-0/+12
* Fix four small whitespace issues related to trailing punctuationIngo Schwarze2012-11-181-3/+3
* Cleanup naming of local variables to make the code easier on the eye:Ingo Schwarze2012-11-171-29/+29
* Two more macros (.Ap and .In) do trailing delimiter handling.Ingo Schwarze2012-11-161-2/+3
* The -width and -offset macro arguments consume the next argumentIngo Schwarze2012-04-151-38/+4
* Make the `-width' field to `Bl' not puke if it doesn't have an argument.Kristaps Dzonsons2012-03-231-1/+1
* forgotten Copyright bumps; no code changeIngo Schwarze2011-09-181-1/+1
* Add back in a check that the leading `-' exists for arguments. ThisKristaps Dzonsons2011-06-181-6/+5
* Clean-up: remove a function only called once.Kristaps Dzonsons2011-06-181-37/+16
* Fix an assertion failure raised by the following interesting scenario: aKristaps Dzonsons2011-06-181-191/+163
* Lint fixes: remove unused function variables and pass in proper enumKristaps Dzonsons2011-05-121-7/+6
* Clean up parsing of delimiters in -mdoc. First, remove the "dowarn"Kristaps Dzonsons2011-04-191-170/+156
* Use mandoc_getarg() for the regular case of processing unquotedKristaps Dzonsons2011-04-171-19/+3
* Don't shadow global identifiers.Joerg Sonnenberger2011-04-071-12/+12
* As per joerg@'s suggestion, use const arrays when looking up mdoc argvs.Kristaps Dzonsons2011-03-231-37/+68
* libmdoc.h and libman.h were including mdoc.h and man.h, respectively.Kristaps Dzonsons2011-03-221-0/+1
* mdoc_argn_free is only used local to mdoc_argv.c, so make it static.Kristaps Dzonsons2011-03-221-3/+4
* Move mandoc_isdelim() back into libmdoc.h. This fixes an unreportedKristaps Dzonsons2011-03-221-2/+2
* Clean-up in mdoc_argv.c args_checkpunct().Kristaps Dzonsons2011-03-171-27/+21
* Clean-up in mdoc_argv.c: make CPP-defines into an enum, document, makeKristaps Dzonsons2011-03-171-33/+17
* Clean up mdoc_pmsg invocations to make them not check the return value.Kristaps Dzonsons2011-03-171-13/+6
* Move mdoc_isdelim() into mandoc.h as mandoc_isdelim(). This allows theKristaps Dzonsons2011-03-171-2/+2
* Make args_checkpunct() use mdoc_isdelim() instead of mdoc_iscdelim(),Kristaps Dzonsons2011-03-171-18/+33
* Move check for closing punctuation into its own function. This willKristaps Dzonsons2011-03-171-24/+41
* Instead of a series of hard-coded strcmps, make argv_a2arg() iterateKristaps Dzonsons2011-03-161-73/+42
* As per schwarze@'s suggestions, roll back the refcount structure inKristaps Dzonsons2010-12-241-1/+1
* Implement reference-counted version of original union mdoc_data. ThisKristaps Dzonsons2010-12-221-2/+1
* Prevent .Lp from looping endlessly on punctuation.Ingo Schwarze2010-09-131-1/+1
* Prevent `Pp' from looping endlessly on punctuation. Bug reported byKristaps Dzonsons2010-09-131-1/+1
* Nit-picking assign in decl.Kristaps Dzonsons2010-07-211-1/+3
* Finally make mdoc argv CPP-defines into a proper enum.Kristaps Dzonsons2010-07-211-3/+3
* correct lots of copyright notices;Ingo Schwarze2010-07-131-1/+1
* Make struct_bl and struct_bd into pointers. This removes the need to doKristaps Dzonsons2010-07-011-1/+2
* Churn as I finish email address migration kth.se -> bsd.lv.Kristaps Dzonsons2010-06-191-1/+1
* `Bl' is now using a struct instead of a single enum mdoc_list for itsKristaps Dzonsons2010-06-121-1/+1
* Getting args() function ready to handle no-context (*pos can == 0)Kristaps Dzonsons2010-05-311-11/+11