-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey guys

I was just thinking until now in my language i haven't allowed
operators like '++' or '+=' etc. Though in the Lex and Yacc book i
took the example of using:

'-' express %prec UMINUS

inline with my usual:

exp '+' exp etc, so this allows '-2 + x' and the like. Which i guess
is half way to allowing: x++ or x-- or x+=2 and the nice short hand
operators.

Would be nice if you could point me in the right direction of how to
handle the grammar of these kinds of operators.

Thanks

- --Phil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuqoYcACgkQAhcOgIaQQ2EbXwCffc7InxU9qDbURvGGmmKjgmgc
9JwAnR8cCkEVK4I9ZiG3Dhw8L3SwW3jo
=acED
-----END PGP SIGNATURE-----



_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to