Skip to content

No guard against changing the Z-alphabet late in compilation #309

@erkyrath

Description

@erkyrath

This compiles:

[ Main;
	print "Hello. This is a test of Class and String.^";
];

Zcharacter "abCdefgHtjklmnopqrsiuvwxyz"
           "ABcDEFGhIJKLMNOPQRSTUVWXYZ"
           "0123456789!$&*():;.,<>`";

The output is terrible, obviously. We should have an error if you try to change the alphabet after compiling strings.

This interacts with #276 , because Inform compiles a few strings at setup time! A naive fix would break the Zcharacter directive entirely -- because the Zcharacter directive can always corrupt those few strings.

Needs some careful sequencing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions