
"David B. Held" <dheld@codelogicconsulting.com> wrote in message news:c84snq$u3k$1@sea.gmane.org...
In the program below, I am having trouble using a grammar as a parser for a rule. In particular, I get an error with gcc 3.3 on the line:
Module_ = *Statement; [...]
Ok, I realized that Statement is a type, and you can't assign types to variables. Duh. But now my problem is that when I make it into a temporary, like so: Module_ = *Statement(); my grammar will parse the first instance, but then quit. For instance, I want to be able to parse this: a b; c d; e f; It will parse "a b;" and then stop on c. Any clues? Dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.683 / Virus Database: 445 - Release Date: 5/12/2004