support for long identifiers in StdInterpreter
|Assignee:||J. Templ||% Done:|
StdInterpreter uses an ARRAY 32 OF CHAR for identifiers, which means that
identifiers longer than 31 characters are not supported. This should be
aligned with the CP compiler, which supports identifiers up to 255 characters.
Reported by Rainer Neubauer, 2012-06-09.
Refers to CPC 1.7 rc5 change list item 11.
Type Ident changed to Kernel.Name. Refs: #36.
As proposed in CPC 1.7 rc5 but with the following changes:
1) instead of using an ARRAY 64 OF CHAR I used Kernel.Name because
this is what the compiler also uses. It is even larger and in sync with the compiler.
2) For scanning numbers there is still the ARRAY 32 OF CAR because this is
not related to identifiers.
Signed-off-by: Josef Templ <email@example.com>