From 5fa7ef36f339efe9bd0f808e9954d9ce18aaaae0 Mon Sep 17 00:00:00 2001 From: Ron Pinkas Date: Thu, 30 Nov 2000 18:00:27 +0000 Subject: [PATCH] 2000-11-30 10:00 UTC+0800 Ron Pinkas * source/compiler/harbour.slx ! Commented out support for Self: as SELF, treat as any other Identifier, until we finalize SELF support. --- harbour/ChangeLog | 4 ++++ harbour/source/compiler/harbour.slx | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d4a77b9c5a..4ada87a1f0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +2000-11-30 10:00 UTC+0800 Ron Pinkas + * source/compiler/harbour.slx + ! Commented out support for Self: as SELF, treat as any other Identifier, until we finalize SELF support. + 2000-11-30 07:50 UTC+0800 Ron Pinkas * source/pp/pptable.c - Removed #ifdef SIMPLEX recently added by Ryszard, SimpLex was using same 5 paramters as Cliiper. diff --git a/harbour/source/compiler/harbour.slx b/harbour/source/compiler/harbour.slx index 76b3a4c435..65c01c39b9 100644 --- a/harbour/source/compiler/harbour.slx +++ b/harbour/source/compiler/harbour.slx @@ -264,7 +264,7 @@ LANGUAGE_WORDS_ARE { LEX_WORD( "NIL" ) AS_TOKEN( NIL + DONT_REDUCE ), LEX_WORD( "OPTIONAL" ) AS_TOKEN( OPTIONAL ), LEX_WORD( "QSELF" ) AS_TOKEN( QSELF ), - LEX_WORD( "SELF" ) AS_TOKEN( SELF ), + /* LEX_WORD( "SELF" ) AS_TOKEN( SELF ), */ LEX_WORD( "STEP" ) AS_TOKEN( HB_STEP ), LEX_WORD( "TO" ) AS_TOKEN( HB_TO ), LEX_WORD( "WITH" ) AS_TOKEN( HB_WITH ), @@ -371,8 +371,8 @@ LANGUAGE_RULES_ARE { IF_SEQUENCE_IS( FIELD , 0 , 0 , 0 ) REDUCE_TO( HB_IDENTIFIER , 0 ), - IF_SEQUENCE_IS( SELF , ':' , 0 , 0 ) PASS_THROUGH(), - IF_SEQUENCE_IS( SELF , 0 , 0 , 0 ) REDUCE_TO( HB_IDENTIFIER , 0 ), + /* IF_SEQUENCE_IS( SELF , ':' , 0 , 0 ) PASS_THROUGH(), + IF_SEQUENCE_IS( SELF , 0 , 0 , 0 ) REDUCE_TO( HB_IDENTIFIER , 0 ), */ IF_SEQUENCE_IS( QSELF , '(' , ')' , 0 ) REDUCE_TO( SELF + DONT_REDUCE, 0 ), IF_SEQUENCE_IS( QSELF , 0 , 0 , 0 ) REDUCE_TO( HB_IDENTIFIER , 0 ),