Commit 1ed67a71 by Tom Tromey Committed by Tom Tromey

StreamTokenizer.java (TT_NONE): Now private.

	* java/io/StreamTokenizer.java (TT_NONE): Now private.
	(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
	For PR java.io/301.

From-SVN: r35511
parent f0333785
2000-08-04 Tom Tromey <tromey@cygnus.com>
* java/io/StreamTokenizer.java (TT_NONE): Now private.
(nextToken): Handle backslashed newline. From Oskar Liljeblad.
For PR java.io/301.
2000-08-03 Warren Levy <warrenl@cygnus.com>
* java/io/ObjectInputStream.java (readFields): Turn off
......
/* Copyright (C) 1998, 1999 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
......@@ -37,7 +37,7 @@ public class StreamTokenizer
public static final int TT_WORD = -3;
/** A constant indicating that no tokens have been read yet. */
public static final int TT_NONE = -4;
private static final int TT_NONE = -4;
/**
* Contains the type of the token read resulting from a call to nextToken
......@@ -365,6 +365,10 @@ public class StreamTokenizer
break;
case 'v': ch = 0xB;
break;
case '\n': ch = '\n';
break;
case '\r': ch = '\r';
break;
case '\"':
case '\'':
case '\\':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment