minor refactoring in user code scanning

* src/scan-code.l (show_sub_message, show_sub_messages): Instead of a
Boolean, take a "warnings" argument.
Avoid storing printf-like format strings in a variable, so that GCC
can check them.
This commit is contained in:
Akim Demaille
2012-08-10 10:11:32 +02:00
parent cceb7b94e9
commit c7324354fb
2 changed files with 24 additions and 46 deletions

3
TODO
View File

@@ -1,7 +1,4 @@
* Short term
** scan-code.l
Avoid variables for format strings, as then GCC cannot check them.
** m4 names
b4_shared_declarations is no longer what it is. Make it
b4_parser_declaration for instance.