Feature #36

support for long identifiers in StdInterpreter

Added by J. Templ about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:04/03/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

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.

Associated revisions

Revision 1e19c3f6
Added by J. Templ about 4 years ago

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 <>

Revision c1dd8e89
Added by J. Templ about 4 years ago

Merge pull request #20 from BlackBoxCenter/issue-#36

Type Ident changed to Kernel.Name. Refs: #36.

History

#1 Updated by J. Templ about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF