Hey

I used PLY for an experiment, and I was trying to improve my DSL, in
particular allow trailing commas.

For example in this expression :

path foo (
  a b,
  c d
);

I would like to allow:

path foo (
  a b,
  c d,
);

and I would like to allow this in most places. Is there a simple
pattern to do this ?

My DSL:  https://bitbucket.org/tarek/redbarrel/src/tip/redbarrel/parser.py

Cheers
Tarek

-- 
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en.

Reply via email to