[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3.0 standalone confused by bare multiline long strings
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 31 Mar 2014 13:49:27 -0300
> $ lua53
> Lua 5.3.0 (work2) Copyright (C) 1994-2014 Lua.org, PUC-Rio
> > [[ a ]]
> a
> > [[ a
> >> ]]
> stdin:2: unexpected symbol near '[[ a
> ]]'
> >
The expression evaluator only works for complete lines:
> 3 +
stdin:1: unexpected symbol near '3'
If you are going to write multiple lines, you can add the '=' by hand :)
-- Roberto