version 1.27, 1999/12/16 16:41:42 |
version 1.28, 1999/12/16 16:52:11 |
|
|
lastc = c; |
lastc = c; |
} |
} |
|
|
Buf_AddChar(buf, '\0'); |
|
line = Buf_Retrieve(buf); |
line = Buf_Retrieve(buf); |
lineno++; |
lineno++; |
/* allow for non-newline terminated lines while skipping */ |
/* allow for non-newline terminated lines while skipping */ |
|
|
line_read: |
line_read: |
lineno++; |
lineno++; |
|
|
if (lastc != '\0') { |
if (lastc != '\0') |
Buf_AddChar(buf, lastc); |
Buf_AddChar(buf, lastc); |
} |
|
Buf_AddChar(buf, '\0'); |
|
line = Buf_Retrieve(buf); |
line = Buf_Retrieve(buf); |
Buf_Destroy(buf, FALSE); |
Buf_Destroy(buf, FALSE); |
|
|