KestrelComputer / kestrel

The Kestrel is a family of home-made computers, built as much as possible on open-source technology, and supporting as much as possible the open-source philosophy.
http://kestrelcomputer.github.io/kestrel
Mozilla Public License 2.0
185 stars 10 forks source link

Problem: Oberon Compiler destroys procedure stack image when assigning a string to an ARRAY OF CHAR variable. #223

Closed sam-falvo closed 8 years ago

sam-falvo commented 8 years ago

Two solutions exist:

1) IF destination is an open array, THEN issue a compiler error, OR, 2) IF destination is an open array AND source is a constant string item, THEN just set the pointer and length attributes of the open array.

To reproduce, see https://gist.github.com/sam-falvo/7a138b708bebc5c292d6

sam-falvo commented 8 years ago

Does not belong in this repository. Moved to KestrelComputer/project-norebo#15