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
This commit is contained in:
parent
f0333785db
commit
1ed67a71e4
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 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 '\\':
|
||||
|
Loading…
Reference in New Issue
Block a user