|
From: | Evan Lavelle |
Subject: | Re: %union, C++, symbol types |
Date: | Tue, 19 Jul 2005 14:00:16 +0100 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
The reason that reference counting is required here is that the lexer produces a token class, rather than AST nodes, and a single token might eventually appear multiple times (or not at all) in the AST.
Thanks - Evan
[Prev in Thread] | Current Thread | [Next in Thread] |