parseconfig.inc: use "skipline" where appropriate
authorH. Peter Anvin <hpa@zytor.com>
Sat, 31 Jan 2009 22:58:17 +0000 (14:58 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 31 Jan 2009 22:58:17 +0000 (14:58 -0800)
Use "skipline" where appropriate instead of reading into the trackbuf.

core/parseconfig.inc

index d2c452b..2f0db48 100644 (file)
@@ -291,7 +291,7 @@ pc_serial:  call getint
                ret
 
 ;
-; Store mangled filename command
+; Store mangled filename command (F-keys, "initrd")
 ;
 pc_filename:   push ax
                call pc_getline
@@ -344,7 +344,7 @@ pc_say:             call pc_getline                 ; "say" command
 ;
 ; "text" command; ignore everything until we get an "endtext" line
 ;
-pc_text:       call pc_getline                 ; Ignore rest of line
+pc_text:       call skipline                   ; Ignore rest of line
 .loop:
                call pc_getline
                jc .eof