Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/io/LineNumberInputStream.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 /* Copyright (C) 1998, 1999  Free Software Foundation
    2 
    3    This file is part of libgcj.
    4 
    5 This software is copyrighted work licensed under the terms of the
    6 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
    7 details.  */
     1/* LineNumberInputStream.java -- An input stream which counts line numbers
     2   Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
     3
     4This file is part of GNU Classpath.
     5
     6GNU Classpath is free software; you can redistribute it and/or modify
     7it under the terms of the GNU General Public License as published by
     8the Free Software Foundation; either version 2, or (at your option)
     9any later version.
    810 
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
    939package java.io;
    1040
    1141/**
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
    1270 * @author Warren Levy <[email protected]>
    13  * @date November 11, 1998.
    14  * @deprecated
    1571 */
    16 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
    17  * "The Java Language Specification", ISBN 0-201-63451-1
    18  * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
    19  * Status:  Believed complete and correct.  Deprecated in JDK 1.1.
    20  */
    21  
    2272public class LineNumberInputStream extends FilterInputStream
    2373{
    24   /* The current line number. */
     74  /* The current line number. */
    2575  private int lineNumber = 0;
    2676
    27   /* The line number when the stream was marked. */
     77  /* The line number when the stream was marked. */
    2878  private int markLineNumber = 0;
    2979
    30   /* Flag to indicate a '\r' was just read so that an immediately subsequent
    31    * '\n' can be ignored. */
     80  /*
     81   * '\n' can be ignored. */
    3282  private boolean justReadReturnChar = false;
    3383
     84
     85
     86
     87
     88
     89
    3490  public LineNumberInputStream(InputStream in)
    3591  {
     
    3793  }
    3894
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
     106
     107
     108
     109
     110
     111
    39112  public int available() throws IOException
    40113  {
     
    44117  }
    45118
     119
     120
     121
     122
     123
    46124  public int getLineNumber()
    47125  {
     
    49127  }
    50128
     129
     130
     131
     132
     133
     134
     135
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
    51152  public void mark(int readlimit)
    52153  {
     
    55156  }
    56157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
    57176  public int read() throws IOException
    58177  {
     
    83202  }
    84203
     204
     205
     206
     207
     208
     209
     210
     211
     212
     213
     214
     215
     216
     217
     218
     219
     220
     221
     222
     223
     224
     225
     226
    85227  public int read(byte[] b, int off, int len) throws IOException
    86228  {
     
    110252  }
    111253
     254
     255
     256
     257
     258
     259
     260
     261
     262
     263
     264
     265
     266
     267
    112268  public void reset() throws IOException
    113269  {
     
    117273  }
    118274
     275
     276
     277
     278
     279
    119280  public void setLineNumber(int lineNumber)
    120281  {
     
    122283  }
    123284
     285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
    124296  public long skip(long n) throws IOException
    125297  {
Note: See TracChangeset for help on using the changeset viewer.