assembler: Don't warn if identical declared registers are redefined
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 26 Jan 2013 18:26:03 +0000 (18:26 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:39 +0000 (15:54 +0000)
commit574a249142f0b3140bda599326e581bb36b328da
treed4b4e9acbd780b3ab0715181135792cc7ea19b94
parent9c72beb70123050db74281bb5f9e5250bb800491
assembler: Don't warn if identical declared registers are redefined

There's no real need to warn when the same register is declared twice.
Currently the libva driver does do that and this warning makes other
errors really hide in a sea of warnings.

Redefining a register with different parameters is a real error though,
so we should not allow that and error out in that case.

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