[Mono-dev] In need of some jay documentation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I try to use jay but am in a total lack of documentation. Currently I get an error message on the following line: state_id_list: ID { kasStateListAdd($1); } | state_id_list ',' ID{ kasStateListAdd($3); } ; which tells me: jay: e - line 90 of "parser.jay", $3 is untyped Strang thing is - it let's all $1 and $2 through without complaint and just chokes on $3. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF/UbQTlVL9Wv1PM8RAm7/AKCax1S1S7llMkPPVsdIEJzyBHvWrACZAcZV lMSNJmE91ZR22tHIZ0TPBAU= =L6c5 -END PGP SIGNATURE- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] In need of some jay documentation
> Strang thing is - it let's all $1 and $2 through without complaint and > just chokes on $3. Declare ID at the top like this: %token ID Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] In need of some jay documentation
Problem was the former line: fsm_start: FSM ID { public void fsm $2() { } ; which got jay to choke. Quoting the inline { did solve the whole mess. Thanks Miguel de Icaza wrote: >> Strang thing is - it let's all $1 and $2 through without complaint and >> just chokes on $3. > > Declare ID at the top like this: > > %token ID > > Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list