Disallow bool vector operations on mixed-length operands.
commit454e2fb9b928cb5d0f09db4e4334570419eb56b3
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Oct 2013 16:38:36 +0000 (15 09:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Oct 2013 16:38:36 +0000 (15 09:38 -0700)
treed91d017bf293501e7b6afc7733f7c8f3674bdeb3
parentc911772ee8de21bab0b5ba63fac19fc7dc377f45
Disallow bool vector operations on mixed-length operands.

The old behavior left garbage in the result vector sometimes,
and didn't seem to be useful.
* data.c (Qwrong_length_argument): New static var.
(wrong_length_argument): New function.
(bool_vector_binop_driver): Check that args agree in length.
src/ChangeLog
src/data.c