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)
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>

1  2 
src/parser/parser.nit
src/parser/parser_abs.nit
src/parser/parser_nodes.nit
src/parser/parser_prod.nit

Simple merge
Simple merge
Simple merge
Simple merge