lua-users home
lua-l archive

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



To be clear, the \* escape was changed to \z, but the comment still shows
'*'

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' */