]> git.saurik.com Git - bison.git/commitdiff
warnings: refactoring
authorTheophile Ranquet <theophile.ranquet@gmail.com>
Mon, 1 Oct 2012 15:01:02 +0000 (15:01 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 1 Oct 2012 13:45:25 +0000 (15:45 +0200)
The code here was too confusing, this seems more natural.

* src/complain.c (error_message): Move the indentation check and the category
output to complains. Also, no longer take a 'warnings' argument.
(complains): Factor calls to error_message.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>

No differences found