On 6/24/2020 9:00 PM, Hans van der Meer wrote:
How can the crash in the minimal example here be explained? And is there a solution to avoid this and make the crash going away "without having to jump through special hoops"?
because \currentdate is a macro thatv does some magic ... it's nor fully expandable
so, lua sees \currentdate == \c as first escaped character coming in and that's invalid (\\currentdate would work)
just try
print("\come on") in pure lua
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 |
www.pragma-ade.nl |
www.pragma-pod.nl-----------------------------------------------------------------