[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lambdas
- From: Philippe Verdy <verdy_p@...>
- Date: Sun, 18 Nov 2018 20:54:02 +0100
The message referenced proposes an implementation in C for a lexical extension which is not safe: it defines a C function using two static variables (state and level) which should be located instead in the strcuture pointed by LexState *ls. As is, the proposal would not allow the Lua parser to be used recursively (example via a Lua "load()" call).