invalid-slot-name ( name -- * )


Vocabulary
classes.tuple.parser

Inputs and outputs
namea string


Word description
Throws an invalid-slot-name error.

Error description
Thrown by TUPLE: and ERROR: if a suspect token appears as a slot name.

Notes
The suspect tokens are chosen so that the following code raises this parse error, instead of silently creating a tuple with garbage slots:
TUPLE: my-mistaken-tuple slot-a slot-b : some-word ( a b c -- ) ... ;


Definition


Methods