lua-users home
lua-l archive

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



Forgot to attach the patch. Here it is:

*** lua-5.0.2/src/llex.c        2003-03-24 04:39:34.000000000 -0800
--- /root/lua-5.0.2/src/llex.c  2005-03-10 11:18:17.000000000 -0800
***************
*** 315,320 ****
--- 315,325 ----
    for (;;) {
      switch (LS->current) {

+       case '#': {
+           while(LS->current != '\n' && LS->current != EOZ)
+             next(LS);
+           continue;
+       }
        case '\n': {
          inclinenumber(LS);
          continue;