[kaffe] CVS kaffe (guilhem): Fixed the <applet> parsing.

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sun Nov 23 10:39:01 2003


PatchSet 4169 
Date: 2003/11/23 18:26:57
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixed the <applet> parsing.

Members: 
	ChangeLog:1.1761->1.1762 
	libraries/javalib/kaffe/applet/AppletTag.java:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1761 kaffe/ChangeLog:1.1762
--- kaffe/ChangeLog:1.1761	Sun Nov 23 17:46:32 2003
+++ kaffe/ChangeLog	Sun Nov 23 18:26:57 2003
@@ -1,3 +1,8 @@
+2003-11-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
+	
+	* libraries/javalib/kaffe/applet/AppletTag.java
+	(parseForApplets):Fixed the parsing of empty <applet> tag.
+
 2003-11-23  Dalibor Topic <robilad@kaffe.org>
 
 	Updated build system to automake 1.7.9 and autoconf 2.58.
@@ -78,7 +83,7 @@
         * configure.in:
 	Fixed automake 1.7.9 warnings.
 	
-2002-11-23  Dalibor Topic <robilad@kaffe.org>	
+2003-11-23  Dalibor Topic <robilad@kaffe.org>	
 
 	Fixed build with kjc.
 	
@@ -90,7 +95,7 @@
 	Added java/awt/geom/CubicCurve2D.java and
 	java/awt/geom/QuadCurve2D.java.
 
-2002-11-22  Dalibor Topic <robilad@kaffe.org>
+2003-11-22  Dalibor Topic <robilad@kaffe.org>
 
 	Partially resynced with GNU Classpath. Detailed ChangeLog follows.
 
Index: kaffe/libraries/javalib/kaffe/applet/AppletTag.java
diff -u kaffe/libraries/javalib/kaffe/applet/AppletTag.java:1.5 kaffe/libraries/javalib/kaffe/applet/AppletTag.java:1.6
--- kaffe/libraries/javalib/kaffe/applet/AppletTag.java:1.5	Mon Oct 27 16:57:02 2003
+++ kaffe/libraries/javalib/kaffe/applet/AppletTag.java	Sun Nov 23 18:26:58 2003
@@ -269,6 +269,7 @@
             if ( ttype == st.TT_WORD ) {
                 if ( st.sval.equals("applet") ) {
                     currentTag = new AppletTag( st);
+                    st.ordinaryChar('/');
                 }
                 else if ( st.sval.equals( "param") ) {
                     if (currentTag != null) {
@@ -281,6 +282,8 @@
                 if (ttype == st.TT_WORD && st.sval.equals("applet")) {
                     tags.addElement(currentTag);
                     currentTag = null;
+                    st.wordChars('/', '/');
+                    st.wordChars(':', ':');
                 }
             }
         }