refactoring in preparation for engine merging

This commit is contained in:
Sven M. Hallberg 2013-06-22 12:51:25 +02:00
parent 8bc3b93e95
commit bf9c9b5f7a
3 changed files with 57 additions and 27 deletions

View file

@ -74,8 +74,10 @@ typedef struct HLREngine_ {
HSlist *stack; // holds pairs: (saved state, semantic value)
HInputStream input;
HArena *arena; // will hold the results
HArena *tarena; // tmp, deleted after parse
HSlist *merged; // saved ancestor engines that merged to form this one
HArena *arena; // will hold the results
HArena *tarena; // tmp, deleted after parse
} HLREngine;