lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2010-02-03, steve donovan <steve.j.donovan@gmail.com> wrote:
> We can look for 'from' (not a keyword!) but it's hard for a token
>  filter to work backwards.  It's possible to do it as a
>  macro/tokenfiler if we write it like so:
>
>  import math, string from _G

Or

from _G import math, string

This way 'from' is a reserved keyword.

--Leo--