Akim Demaille
f68a49ed49
-Wempty-rule: diagnose empty rules without %empty
* src/complain.h, src/complain.c (warning_empty_rule, Wempty_rule):
New warning category.
(warnings_args, warnings_types): Adjust.
* src/reader.c (grammar_rule_check): Check the empty rules are
flagged by %empty.
* tests/actions.at (Implicitly empty rule): New.
* tests/existing.at: Add expected warnings.
2013-02-18 10:01:27 +01:00
..
2008-11-16 19:46:16 +01:00
2013-02-18 10:01:27 +01:00
2013-02-01 15:06:20 +01:00
2013-01-29 14:14:39 +01:00
2013-02-01 15:06:26 +01:00
2013-02-11 09:07:25 +01:00
2013-02-14 15:00:51 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:27 +01:00
2013-01-25 16:45:17 +01:00
2013-01-25 16:35:52 +01:00
2013-02-18 10:01:27 +01:00
2013-01-30 10:18:39 +01:00
2013-02-04 16:49:10 +01:00
2013-01-28 17:46:13 +01:00
2013-01-25 16:45:17 +01:00
2013-01-28 17:46:13 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:27 +01:00
2013-02-18 10:01:27 +01:00
2013-01-12 16:14:16 +01:00
2013-01-21 16:27:46 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-21 16:27:46 +01:00