DavidKinder / Inform6

The latest version of the Inform 6 compiler, used for generating interactive fiction games.
http://inform-fiction.org/
Other
199 stars 32 forks source link

`#dict_par1/2/3` fix #269

Closed erkyrath closed 4 months ago

erkyrath commented 4 months ago

In Glulx, we were always storing these constants with BYTECONSTANT_OT. But that assumes the values are less than 128. For sufficiently large DICT_WORD_SIZE, this failed.

erkyrath commented 4 months ago

Fixes https://github.com/DavidKinder/Inform6/issues/268 .

Test file: https://github.com/erkyrath/Inform6-Testing/blob/master/src/dictlargeentrytest.inf