openfoam/wmake/src
Mark Olesen f7c8e39804 ENH: update lemon version (#1768)
- upstream fixes: minor compiler warnings, style changes
2020-11-07 18:04:55 +01:00
..
Allmake CONFIG: add runtime settings for mingw cross-compiled binaries 2020-08-06 19:36:19 +02:00
createCode STYLE: consistent quoting for 'cd' 2019-12-14 13:34:48 +01:00
lemon.c ENH: update lemon version (#1768) 2020-11-07 18:04:55 +01:00
lemon.c.patch ENH: update lemon version (#1768) 2020-11-07 18:04:55 +01:00
Makefile CONFIG: add runtime settings for mingw cross-compiled binaries 2020-08-06 19:36:19 +02:00
README.txt ENH: update lemon version and linkage directive (#1768) 2020-07-10 12:01:58 +02:00
wmkdep.l STYLE: add END tag for dependency files 2020-09-23 09:25:07 +02:00
wmkdepend.cc STYLE: add END tag for dependency files 2020-09-23 09:25:07 +02:00
wmkdepend.rl STYLE: add END tag for dependency files 2020-09-23 09:25:07 +02:00

Minimal changes to lemon for C++ integration.

- Additional '-e' command line option to define the code extension.
  By default this is 'c', but with this option can define something
  like '-ecxx' etc for using a C++ compiler.

- Additional '%static' Lemon directive, which is boolean-like:

      %static

  This adds a 'static' qualifier to all of the 'Parse*' routines that
  would otherwise have global linkage, thus making them only visible
  in the same file-scope.
  Can subsequently place all of the C++ interface code within a %code
  block in the same translation unit.

  This allows good encapsulation without fundamentally changing how
  Lemon works.

--
2020-07-10