update lemon version and syntax
- newer lemon is available with minor bugfixes and additional
%elsehandling. - change patch to handle
%staticdirective instead of%namespacedirective.
After forum discussions there is no foreseeable upstream acceptable for the %namespace patches we have introduced (the -e option might still be open to debate). Since OpenFOAM only uses the anonymous namespace to encapsulate the Lemon parser routines, just use a simpler static linkage instead. This results in a smaller, less intrusive patch, with the vague possibility that it could be upstreamed.
Edited by Mark OLESEN