mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
1
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user