From 52cd64b7673affa9737ee6f486ea974c59f4d388 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 5 Aug 2006 12:27:31 +0000 Subject: Accept F-spec in NOP (with warning) git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-12 --- NEWS | 3 +++ mixlib/mix_scanner.l | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index e1c1114..d92c807 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,9 @@ Please send mdk bug reports to bug-mdk@gnu.org. ** Bug fixes + - smem in mixvm correctly handles negative zero (thanks to Michael + Vernov). + - cbpo help string corrected (thanks to Michael Vernov). - I1 and I2 in mixvm swapped to their correct position (closes #15746). - Obsolete CFLAGS for Darwin removed. - mixal-mode.el syncronised with Emacs CVS. diff --git a/mixlib/mix_scanner.l b/mixlib/mix_scanner.l index 82b860e..2b3099b 100644 --- a/mixlib/mix_scanner.l +++ b/mixlib/mix_scanner.l @@ -437,6 +437,7 @@ wexpr {expr}({fpart})?(,{expr}({fpart})?)* if ( val < 0 || val > MIX_BYTE_MAX ) RETURN_ERROR (MIX_PERR_INV_FSPEC, NULL); if ( ins.opcode != mix_opMOVE + && ins.opcode != mix_opNOP && ( ins.opcode < mix_opJBUS || ins.opcode > mix_opJXx ) && !mix_fspec_is_valid (mix_byte_new (val)) ) RETURN_ERROR (MIX_PERR_INV_FSPEC, NULL); -- cgit v1.2.3