URL:
<https://savannah.gnu.org/bugs/?55628>
Summary: dictionary overflow if too many locals
Project: Gforth
Submitted by: phr
Submitted on: Fri 01 Feb 2019 11:43:34 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The definition
: foo { a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 }
{ b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 }
{ c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 } ;
produces the error message
"[filename].fs:3: Dictionary overflow
{ c1 c2 >>>c3<<< c4 c5 c6 c7 c8 c9 c10 } ;"
and then leaves the interpreter in a wedged state where hasn't seen the
closing brace but doesn't let you add one.
Yes I really did want to write a definition with that many locals ;-).
It would be nice if the limit could be eliminated or increased by a lot, and
also if the interpreter recovered properly when the error is triggered.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55628>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
bug-gforth mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gforth