Werner Koch
a15c35f37e
doc: Change yat2m to allow arbitrary condition names.
...
* doc/yat2m.c (MAX_CONDITION_NESTING): New.
(gpgone_defined): Remove.
(condition_s, condition_stack, condition_stack_idx): New.
(cond_is_active, cond_in_verbatim): New.
(add_predefined_macro, set_macro, macro_set_p): New.
(evaluate_conditions, push_condition, pop_condition): New.
(parse_file): Rewrite to use the condition stack.
(top_parse_file): Set prefined macros.
(main): Change -D to define arbitrary macros.
--
This change allows the use of other conditionals than "gpgone" and
thus make "gpgtwoone" et al. actually work. It does now also track
conditionals over included files.
Signed-off-by: Werner Koch <wk@gnupg.org>
2013-10-28 07:26:05 +01:00
..
2008-06-25 11:14:48 +00:00
2008-09-04 10:35:41 +00:00
2006-11-14 10:23:21 +00:00
2011-12-01 11:09:02 +01:00
2011-12-20 15:35:42 +01:00
2010-06-10 10:39:44 +00:00
2013-04-17 11:26:27 +02:00
2011-01-13 15:32:11 +01:00
2013-10-02 09:11:43 +02:00
2010-08-16 11:03:43 +00:00
2010-10-05 13:56:25 +00:00
2012-12-19 11:05:05 +01:00
2003-01-09 13:24:01 +00:00
2009-07-22 13:33:46 +00:00
2010-06-10 10:39:44 +00:00
2004-12-21 19:05:15 +00:00
2004-12-21 19:05:15 +00:00
2006-06-20 17:47:10 +00:00
2007-07-04 19:49:40 +00:00
2011-08-12 14:40:47 +02:00
2007-03-08 18:31:56 +00:00
2007-03-08 18:31:56 +00:00
2007-03-08 18:31:56 +00:00
2011-08-12 14:40:47 +02:00
2013-08-28 17:40:32 +02:00
2013-10-04 14:31:35 +02:00
2013-05-07 21:25:27 +02:00
2013-10-04 14:31:35 +02:00
2013-04-19 12:01:22 +02:00
2013-03-29 09:13:05 +01:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2008-06-01 19:44:05 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2013-02-12 14:15:21 +09:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2009-07-23 15:18:58 +00:00
2007-12-04 15:00:14 +00:00
2007-12-04 15:00:14 +00:00
2009-07-22 13:33:46 +00:00
2007-05-08 13:59:41 +00:00
2010-06-10 10:39:44 +00:00
2006-08-21 20:20:23 +00:00
2013-04-19 12:01:22 +02:00
2012-11-30 12:43:34 -05:00
2004-09-29 11:04:30 +00:00
2006-08-21 20:20:23 +00:00
2013-08-01 11:20:48 +02:00
2008-06-25 11:14:48 +00:00
2012-11-30 12:47:49 -05:00
2013-08-28 17:40:32 +02:00
2006-08-18 13:05:39 +00:00
2012-01-06 13:36:47 +01:00
2009-07-22 13:33:46 +00:00
2011-08-12 14:40:47 +02:00
2012-01-27 15:40:24 +01:00
2013-03-29 09:13:05 +01:00
2007-03-19 14:35:04 +00:00
2010-07-23 16:16:14 +00:00
2006-12-06 16:38:34 +00:00
2013-10-28 07:26:05 +01:00