[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.1/kdelibs/kjs
From:       Harri Porten <porten () kde ! org>
Date:       2008-11-05 22:39:56
Message-ID: 1225924796.313845.28456.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 880601 by porten:

Merged revision 880599:
One more hack for HTML comments in JS: all other browsers
all for C-style comments before -->.

I removed the C++ comment check for the beginning-of-line
marker as I don't really see its purpose anymore.

 M  +1 -1      lexer.cpp  


--- branches/KDE/4.1/kdelibs/kjs/lexer.cpp #880600:880601
@@ -475,7 +475,7 @@
     if (!done)
       shift(1);
 #ifndef KJS_PURE_ECMA
-    if (state != Start && state != InSingleLineComment)
+    if (state != Start && state != InMultiLineComment)
       bol = false;
 #endif
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic