[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Patch for lua-5.2.0-rc2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 28 Nov 2011 17:02:38 -0200
> loadfile & load do the same check with mode. Unfortunately, in 2
> different functions : checkright in lbaselib.c and checkmode in
> I try with 2 different ways (see attached patches) to refactor the
> code which handles the parameter mode.
It would be more helpful a short description than a complete
implementation. But the second way seems interesting.