2001-07-19 12:00 UTC-0800 Ron Pinkas <ron@profit-master.com>

* source/compiler/harbour.sly
   * source/compiler/harbour.y
     + Added  "$$->value.asMacro.SubType = HB_ET_MACRO_SYMBOL" to "MacroVarAlias :" because in this context macro is a symbol.
This commit is contained in:
Ron Pinkas
2001-07-19 19:03:53 +00:00
parent c099169a37
commit 59e84f3aa6
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2001-07-19 12:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.sly
* source/compiler/harbour.y
+ Added "$$->value.asMacro.SubType = HB_ET_MACRO_SYMBOL" to "MacroVarAlias :" because in this context macro is a symbol.
2001-07-19 02:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
* Changed storing of MACROTEXT from hb_compIdentifierNew() to hb_strdup().

View File

@@ -532,7 +532,7 @@ MacroVar : MACROVAR { $$ = hb_compExprNewMacro( NULL, '&', $1 );
| MACROTEXT { $$ = hb_compExprNewMacro( NULL, 0, $1 ); }
;
MacroVarAlias : MacroVar ALIASOP { $$ = $1; }
MacroVarAlias : MacroVar ALIASOP { $$ = $1; $$->value.asMacro.SubType = HB_ET_MACRO_SYMBOL; }
;
/* Macro expressions

View File

@@ -514,7 +514,7 @@ MacroVar : MACROVAR { $$ = hb_compExprNewMacro( NULL, '&', $1 ); }
| MACROTEXT { $$ = hb_compExprNewMacro( NULL, 0, $1 ); }
;
MacroVarAlias : MacroVar ALIASOP { $$ = $1; }
MacroVarAlias : MacroVar ALIASOP { $$ = $1; $$->value.asMacro.SubType = HB_ET_MACRO_SYMBOL; }
;
/* Macro expressions