Merge: Locally disable warnings
authorJean Privat <jean@pryen.org>
Sat, 20 Dec 2014 01:24:27 +0000 (20:24 -0500)
committerJean Privat <jean@pryen.org>
Sat, 20 Dec 2014 01:24:27 +0000 (20:24 -0500)
commitf05d33e09ab38235be670c35787bd54ac0675d5a
treef0a37fa42db1781c05917a8437b89b32cf4d568e
parent7c31cc2fecbfe84fdf92efaa7366d911f11d56ad
parentd9fbb9e64163e4bf8c0c89b7031e0efcfad1fc92
Merge: Locally disable warnings

The new annotation `no_warning`, used in module, will disable specific (or all) warnings in the module.

~~~
module lexer is no_warning("missing-doc")
module parser is no_warning("missing-doc", "unread-variable")
module toto is no_warning("all")
~~~

Note: Now there is less noise, a future PR (currently in writing) will remove a lot of warnings in the `src/` directory.

Close #774

Pull-Request: #1048
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
src/parser/parser.nit
src/parser/parser_abs.nit
src/parser/parser_nodes.nit
src/parser/parser_prod.nit