patch-modelgen_mg__h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. $OpenBSD: patch-modelgen_mg__h,v 1.1 2017/05/01 19:29:26 espie Exp $
  2. Index: modelgen/mg_.h
  3. --- modelgen/mg_.h.orig
  4. +++ modelgen/mg_.h
  5. @@ -77,6 +77,20 @@ inline CS& operator>>(CS& f, Base& b) {b.parse(f)
  6. inline std::ostream& operator<<(std::ostream& f, const Base& d)
  7. {d.print(f); return f;}
  8. /*--------------------------------------------------------------------------*/
  9. +class C_Comment
  10. + :public Base
  11. +{
  12. +public:
  13. + void parse(CS& f);
  14. +};
  15. +/*--------------------------------------------------------------------------*/
  16. +class Cxx_Comment
  17. + :public Base
  18. +{
  19. +public:
  20. + void parse(CS& f);
  21. +};
  22. +/*--------------------------------------------------------------------------*/
  23. template <class T>
  24. class List_Base
  25. :public Base
  26. @@ -147,20 +161,6 @@ class Collection (public)
  27. file.warn(0, "what's this??");
  28. }}
  29. }
  30. -};
  31. -/*--------------------------------------------------------------------------*/
  32. -class C_Comment
  33. - :public Base
  34. -{
  35. -public:
  36. - void parse(CS& f);
  37. -};
  38. -/*--------------------------------------------------------------------------*/
  39. -class Cxx_Comment
  40. - :public Base
  41. -{
  42. -public:
  43. - void parse(CS& f);
  44. };
  45. /*--------------------------------------------------------------------------*/
  46. class Key