[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc6) now available
- From: HyperHacker <hyperhacker@...>
- Date: Wed, 6 Jul 2011 03:46:17 -0600
On Wed, Jul 6, 2011 at 03:29, Gé Weijers <ge@weijers.org> wrote:
>
> I just happened to see this one:
>
> Index: lua_src/llex.c
> ===================================================================
> --- lua_src/llex.c
> +++ lua_src/llex.c
> @@ -353,11 +353,11 @@
> case 'x': c = readhexaesc(ls); break;
> case '\n':
> case '\r': save(ls, '\n'); inclinenumber(ls); continue;
> case EOZ: continue; /* will raise an error next loop */
> case 'z': { /* zap following span of spaces */
> - next(ls); /* skip the '*' */
> + next(ls); /* skip the 'z' */
> while (lisspace(ls->current)) {
> if (currIsNewline(ls)) inclinenumber(ls);
> else next(ls);
> }
> continue; /* do not save 'c' */
>
>
>
So it's \z now to continue a line? That's kinda ugly. What's wrong
with just \<line break>?
--
Sent from my toaster.