PageRenderTime 24ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Lib/ocaml/ocamlkw.swg

#
Unknown | 64 lines | 58 code | 6 blank | 0 comment | 0 complexity | 3897a6f292db1df71b1107de70cc2720 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. #ifndef OCAML_OCAMLKW_SWG_
  2. #define OCAML_OCAMLKW_SWG_
  3. /* Warnings for Ocaml keywords */
  4. #define OCAMLKW(x) %namewarn("314: '" #x "' is an ocaml keyword and it will be appropriately renamed") #x
  5. /*
  6. from
  7. http://caml.inria.fr/ocaml/htmlman/manual044.html
  8. */
  9. OCAMLKW(and);
  10. OCAMLKW(as);
  11. OCAMLKW(assert);
  12. OCAMLKW(begin);
  13. OCAMLKW(class);
  14. OCAMLKW(constraint);
  15. OCAMLKW(do);
  16. OCAMLKW(done);
  17. OCAMLKW(downto);
  18. OCAMLKW(else);
  19. OCAMLKW(end);
  20. OCAMLKW(exception);
  21. OCAMLKW(external);
  22. OCAMLKW(false);
  23. OCAMLKW(for);
  24. OCAMLKW(fun);
  25. OCAMLKW(function);
  26. OCAMLKW(functor);
  27. OCAMLKW(if);
  28. OCAMLKW(in);
  29. OCAMLKW(include);
  30. OCAMLKW(inherit);
  31. OCAMLKW(initializer);
  32. OCAMLKW(lazy);
  33. OCAMLKW(let);
  34. OCAMLKW(match);
  35. OCAMLKW(method);
  36. OCAMLKW(module);
  37. OCAMLKW(mutable);
  38. OCAMLKW(new);
  39. OCAMLKW(object);
  40. OCAMLKW(of);
  41. OCAMLKW(open);
  42. OCAMLKW(or);
  43. OCAMLKW(private);
  44. OCAMLKW(rec);
  45. OCAMLKW(sig);
  46. OCAMLKW(struct);
  47. OCAMLKW(then);
  48. OCAMLKW(to);
  49. OCAMLKW(true);
  50. OCAMLKW(try);
  51. OCAMLKW(type);
  52. OCAMLKW(val);
  53. OCAMLKW(virtual);
  54. OCAMLKW(when);
  55. OCAMLKW(while);
  56. OCAMLKW(with);
  57. #undef OCAMLKW
  58. #endif //OCAML_OCAMLKW_SWG_