Jeff Trull
c524b58847
Fix line directives after endif following else ( #170 ) ( #171 )
...
* Fix line directives after endif when else clause is present
The initial part of a conditional block (the if/ifdef/ifndef) takes
the "slow" path through the code in cpp_iterator.hpp using the C++
expression grammar, while else and endif directives take the "fast"
path. The slow path sets must_emit_line_directive, and it will be
cleared after either else or endif is processed. Unfortunately when
an else precedes the endif, must_emit_line_directive is cleared and is
never set, as only the slow path sets it. The result is proper line
directives are issued for the else clause, but not for the subsequent
endif.
This changes adds setting of must_emit_line_directive in the "fast"
path for endif so line directives are considered after an intervening else.
2022-06-25 13:05:53 -07:00
..
2018-10-04 17:40:21 +02:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2022-06-22 11:22:27 -07:00
2022-06-22 11:22:27 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2022-06-22 11:22:27 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2020-04-12 12:40:03 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:38:10 +00:00
2012-05-23 14:38:10 +00:00
2020-06-27 07:22:52 -07:00
2020-06-27 07:22:52 -07:00
2020-06-27 07:22:52 -07:00
2022-01-18 10:46:16 -08:00
2020-06-27 07:22:52 -07:00
2020-06-27 07:22:52 -07:00
2020-06-27 07:22:52 -07:00
2020-06-27 07:22:52 -07:00
2022-06-22 11:22:27 -07:00
2012-05-23 14:41:35 +00:00
2020-04-12 12:40:03 -07:00
2020-04-12 12:40:03 -07:00
2020-04-12 12:40:03 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2020-03-15 22:54:01 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2020-07-20 20:51:14 -07:00
2020-07-20 20:51:14 -07:00
2020-07-20 20:51:14 -07:00
2022-06-22 11:23:06 -07:00
2022-06-25 13:05:53 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2017-11-28 05:37:16 -08:00
2017-09-18 22:25:52 +02:00
2017-09-17 15:35:37 +02:00
2017-09-18 22:02:57 +02:00
2017-09-18 22:02:57 +02:00
2017-09-18 22:25:52 +02:00
2017-09-18 22:25:52 +02:00
2020-04-12 12:40:03 -07:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2020-04-12 12:40:03 -07:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2020-03-06 11:48:50 -08:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2020-04-12 12:40:03 -07:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-05-23 14:41:35 +00:00
2012-07-22 23:08:25 +00:00
2012-07-22 23:08:25 +00:00
2012-07-28 14:08:09 +00:00
2017-10-19 16:23:19 -05:00
2018-10-06 12:41:23 +02:00
2018-10-06 12:41:23 +02:00
2018-10-04 17:40:21 +02:00
2018-10-04 17:40:21 +02:00
2022-06-25 13:05:53 -07:00