assembler: Port the warning and error reporting to warn()/error()
authorDamien Lespiau <damien.lespiau@intel.com>
Sun, 27 Jan 2013 10:41:23 +0000 (10:41 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:40 +0000 (15:54 +0000)
commit6d3d36953549afed7ebc9afe5e26f133173d835d
treedaafaeb2522ececd2d9c2b0926d51aa714fce7ca
parente7cca1a3cafb2f33b4ae94afb9a11dd01085b23d
assembler: Port the warning and error reporting to warn()/error()

This way we ensure to have a single place where these are handled. The
immediate benefit is that now line numbers are always printed out, which
is quite handy.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
assembler/gram.y