summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl/float.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2007-03-23 22:26:01 +0000
committerjkim <jkim@FreeBSD.org>2007-03-23 22:26:01 +0000
commitade9ba91cb6ae9a2ab470eb72605bf0cf2a3e298 (patch)
tree33a8bc0965c62990ad6f76c0693af58929adbb3c /sys/boot/ficl/float.c
parentbe1c13fd282e498fffd27e1fb4457e2f8e7c9a0d (diff)
downloadFreeBSD-src-ade9ba91cb6ae9a2ab470eb72605bf0cf2a3e298.zip
FreeBSD-src-ade9ba91cb6ae9a2ab470eb72605bf0cf2a3e298.tar.gz
Update to FICL 3.03 (the last release before FICL4 rewrite).
The relevant changes for FreeBSD (excerpt from the release note): * Newly implemented CORE EXT words: CASE, OF, ENDOF, and ENDCASE. Also added FALLTHROUGH, which works like ENDOF but jumps to the instruction just after the next OF. * Bugfix: John-Hopkins locals syntax now accepts | and -- in the comment (between the first -- and the }.) * Bugfix: Changed vmGetWord0() to make Purify happier. The resulting code is no slower, no larger, and slightly more robust.
Diffstat (limited to 'sys/boot/ficl/float.c')
-rw-r--r--sys/boot/ficl/float.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/ficl/float.c b/sys/boot/ficl/float.c
index 3fe8581..d757b23 100644
--- a/sys/boot/ficl/float.c
+++ b/sys/boot/ficl/float.c
@@ -977,6 +977,8 @@ int ficlParseFloatNumber( FICL_VM *pVM, STRINGINFO si )
}
PUSHFLOAT(accum);
+ if (pVM->state == COMPILE)
+ fliteralIm(pVM);
return(1);
}
@@ -1062,3 +1064,4 @@ void ficlCompileFloat(FICL_SYSTEM *pSys)
#endif
return;
}
+
OpenPOWER on IntegriCloud