Replace getc() with input().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4422 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -82,7 +82,7 @@ getstring(void)
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
int c;
|
int c;
|
||||||
int quote = 0;
|
int quote = 0;
|
||||||
while((c = getc(yyin)) != EOF){
|
while((c = input()) != EOF){
|
||||||
if(quote) {
|
if(quote) {
|
||||||
x[i++] = c;
|
x[i++] = c;
|
||||||
quote = 0;
|
quote = 0;
|
||||||
|
Reference in New Issue
Block a user