1 |
/* StreamTokenizer.java -- parses streams of characters into tokens |
/* StreamTokenizer.java -- parses streams of characters into tokens |
2 |
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation |
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
554 |
} |
} |
555 |
|
|
556 |
/** |
/** |
557 |
* This method returns the current line number. Note that if the |
* Puts the current token back into the StreamTokenizer so |
558 |
* <code>pushBack()</code> method is called, it has no effect on the |
* <code>nextToken</code> will return the same value on the next call. |
559 |
* line number returned by this method. |
* May cause the lineno method to return an incorrect value |
560 |
* |
* if lineno is called before the next call to nextToken. |
|
* @return The current line number |
|
561 |
*/ |
*/ |
562 |
public void pushBack() |
public void pushBack() |
563 |
{ |
{ |
|
// pushBack may cause the lineno method to return an incorrect value |
|
|
// if lineno is called before the next call to nextToken. |
|
564 |
pushedBack = true; |
pushedBack = true; |
565 |
} |
} |
566 |
|
|
667 |
if (hi > 255) |
if (hi > 255) |
668 |
hi = 255; |
hi = 255; |
669 |
for (int i = low; i <= hi; i++) |
for (int i = low; i <= hi; i++) |
670 |
whitespace[i] = true; |
{ |
671 |
|
resetChar(i); |
672 |
|
whitespace[i] = true; |
673 |
|
} |
674 |
} |
} |
675 |
|
|
676 |
/** |
/** |