25 Aug
2009
25 Aug
'09
5:03 p.m.
Eric, this may or may not be related to the other problem w/ the assignment operator. In my application eventually I'll want to allow literals of builtin constants on the right hand side of the assignment, but not on the left hand side. So given: my_int my_i; // a proto terminal int i; The following should happen: my_i = 5; // OK (i,my_i) = my_i; // OK (5,my_i) = my_i; // NOT OK For that I have a grammar for the left hand side and one for the right hand side. In the attached file, the grammar for the left hand side doesn't match and I'm not sure why. What I'm doing wrong? TIA, Maurizio