mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-08 08:26:44 +00:00
65 lines
1.0 KiB
Plaintext
65 lines
1.0 KiB
Plaintext
#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_
|