19991016-18:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
* harbour.y
* Corrected bug with Push/Pop optimizer and BlockList.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
19991016-18:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
|
||||
* harbour.y
|
||||
* Corrected bug with Push/Pop optimizer and BlockList.
|
||||
|
||||
19991016-14:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
|
||||
* compiler.h
|
||||
+ added lLstPushPos to PFUNCTION structure to support nesting (like in blocks ).
|
||||
|
||||
@@ -1011,7 +1011,7 @@ CodeBlock : BlockBegin '|' BlockExpList '}' { CodeBlockEnd(); }
|
||||
BlockBegin : '{' '|' { CodeBlockStart(); }
|
||||
;
|
||||
|
||||
BlockExpList : { SetLastPushPos(); } Expression { $$ = 1; }
|
||||
BlockExpList : Expression { $$ = 1; }
|
||||
| ',' { SetLastPushPos(); PushNil(); RemoveExtraPush(); PushNil(); $$ = 2; }
|
||||
| BlockExpList ',' { RemoveExtraPush(); PushNil(); $$++; }
|
||||
| BlockExpList ',' { RemoveExtraPush(); } Expression { $$++; }
|
||||
|
||||
Reference in New Issue
Block a user