On Tue, Jun 12, 2007 at 11:01:18AM -0400, Jason Stover wrote: The problem is that GLM's syntax differs from that of other procedures. It looks like this: GLM dependent variable [BY factor list [WITH covariate list]] ... so the first token after the command name is a variable name. I'm not sure how to write the q2c rules for that. I thought about adding an optional VARIABLE subcommand, then assuming if it isn't there that the first token goes with the unused subcommand, but this approach seems like a kludge. Does this mean I need to write a custom parser? I hope not.
I suspect that you have to write a custom parser for that part. You can probably cut-and-paste from the parsers for the ONEWAY or EXAMINE commands to get started. Frankly, I'm slowly beginning to come around to Ben's way of thinking; that q2c is more trouble than it's worth ... J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list pspp-dev@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-dev