Mercurial > hg > octave-lyh
comparison liboctave/mk-ops.awk @ 9550:3d6a9aea2aea
refactor binary & bool ops in liboctave
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 19 Aug 2009 22:55:15 +0200 |
parents | eb63fbe60fab |
children | 7dafdb8b062f |
comparison
equal
deleted
inserted
replaced
9549:ed34b1da0e26 | 9550:3d6a9aea2aea |
---|---|
254 lhs_class, rhs_class, lhs_type, lhs_conv, | 254 lhs_class, rhs_class, lhs_type, lhs_conv, |
255 rhs_type, rhs_conv) >> cc_file | 255 rhs_type, rhs_conv) >> cc_file |
256 } | 256 } |
257 | 257 |
258 if (bool_ops) | 258 if (bool_ops) |
259 printf ("%s%s_BOOL_OPS2 (%s, %s, %s, %s)\n", lhs_class, rhs_class, | 259 printf ("%s%s_BOOL_OPS (%s, %s)\n", lhs_class, rhs_class, |
260 lhs_type, rhs_type, lhs_scalar_zero_val, | 260 lhs_type, rhs_type) >> cc_file |
261 rhs_scalar_zero_val) >> cc_file | |
262 | 261 |
263 | 262 |
264 close (cc_file); | 263 close (cc_file); |
265 } | 264 } |
266 else | 265 else |