You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.0 KiB
64 lines
1.0 KiB
#ifndef OCAML_OCAMLKW_SWG_ |
|
#define OCAML_OCAMLKW_SWG_ |
|
|
|
/* Warnings for Ocaml keywords */ |
|
#define OCAMLKW(x) %namewarn("314:" #x " is a ocaml keyword and it will properly renamed") #x |
|
|
|
/* |
|
from |
|
http://caml.inria.fr/ocaml/htmlman/manual044.html |
|
*/ |
|
|
|
|
|
OCAMLKW(and); |
|
OCAMLKW(as); |
|
OCAMLKW(assert); |
|
OCAMLKW(begin); |
|
OCAMLKW(class); |
|
OCAMLKW(constraint); |
|
OCAMLKW(do); |
|
OCAMLKW(done); |
|
OCAMLKW(downto); |
|
OCAMLKW(else); |
|
OCAMLKW(end); |
|
OCAMLKW(exception); |
|
OCAMLKW(external); |
|
OCAMLKW(false); |
|
OCAMLKW(for); |
|
OCAMLKW(fun); |
|
OCAMLKW(function); |
|
OCAMLKW(functor); |
|
OCAMLKW(if); |
|
OCAMLKW(in); |
|
OCAMLKW(include); |
|
OCAMLKW(inherit); |
|
OCAMLKW(initializer); |
|
OCAMLKW(lazy); |
|
OCAMLKW(let); |
|
OCAMLKW(match); |
|
OCAMLKW(method); |
|
OCAMLKW(module); |
|
OCAMLKW(mutable); |
|
OCAMLKW(new); |
|
OCAMLKW(object); |
|
OCAMLKW(of); |
|
OCAMLKW(open); |
|
OCAMLKW(or); |
|
OCAMLKW(private); |
|
OCAMLKW(rec); |
|
OCAMLKW(sig); |
|
OCAMLKW(struct); |
|
OCAMLKW(then); |
|
OCAMLKW(to); |
|
OCAMLKW(true); |
|
OCAMLKW(try); |
|
OCAMLKW(type); |
|
OCAMLKW(val); |
|
OCAMLKW(virtual); |
|
OCAMLKW(when); |
|
OCAMLKW(while); |
|
OCAMLKW(with); |
|
|
|
#undef OCAMLKW |
|
|
|
#endif //OCAML_OCAMLKW_SWG_
|
|
|