diff options
author | hpa <hpa> | 2004-12-21 06:30:54 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-21 06:30:54 +0000 |
commit | 525bbe0393f388e065447044b421b84b2e187c8c (patch) | |
tree | a97ebcf34575dcfedacce127b92e5a062bcd7ea5 /parsecmd.inc | |
parent | abf1b805231a7cd01a249c67413e7c1e3152b72e (diff) | |
download | syslinux-525bbe0393f388e065447044b421b84b2e187c8c.tar.gz |
I think the menu system actually works now...syslinux-2.20-pre11
Diffstat (limited to 'parsecmd.inc')
-rw-r--r-- | parsecmd.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/parsecmd.inc b/parsecmd.inc index 2aa4144c..8d0de95e 100644 --- a/parsecmd.inc +++ b/parsecmd.inc @@ -35,8 +35,6 @@ getcommand: call skipspace ; Skip leading whitespace jz .eof ; End of file jc .find ; End of line: try again - cmp al,'0' ; Skip comment line - jb .skipline or al,20h ; Convert to lower case movzx ebx,al ; Hash for a one-char keyword @@ -72,9 +70,10 @@ getcommand: ; No parameter .noparm: mov si,err_noparm + mov al,10 ; Already at EOL .error: call cwritestr - jmp short .find + jmp short .skipline .found_keywd: lodsw ; Load argument into ax call [si] |