How can I make camlp4 parsing case-insensitive?

The only approach I can think of so far is to build a really larger set of tokens and use them instead of strings in the parser.

Any flag I can flip or way to do this without a large set of tokens?

        Thanks, Joel

On Mar 8, 2009, at 1:08 AM, Matthieu Wipliez wrote:


Is the camlp4 grammar parser case-insensitive?

Will both Delay and delay be accepted in the actionDelay rule?

   actionDelay: [ [ "delay"; expression ->
       Asthelper.failwith (convert_loc _loc)
           "RVC-CAL does not permit the use of delay." ] ];

No, only "delay" is accepted.



---
http://tinyco.de
Mac, C++, OCaml



_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to