Re-enable skipping of #-led comments.
This commit is contained in:
parent
060601da2f
commit
54afefba94
1 changed files with 6 additions and 3 deletions
9
misc.c
9
misc.c
|
@ -883,9 +883,12 @@ long I, VAL;
|
|||
|
||||
if(MAP2[1] == 0)MPINIT();
|
||||
|
||||
if (!oldstyle && isatty(0))
|
||||
fputs("> ", stdout);
|
||||
IGNORE(fgets(INLINE+1,sizeof(INLINE)-1,OPENED));
|
||||
if (!oldstyle && OPENED == stdin)
|
||||
fputs("> ", stdout);
|
||||
do {
|
||||
IGNORE(fgets(INLINE+1,sizeof(INLINE)-1,OPENED));
|
||||
} while
|
||||
(!feof(OPENED) && INLINE[1] == '#');
|
||||
if (feof(OPENED)) {
|
||||
if (logfp)
|
||||
fclose(logfp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue