From: hpa Date: Tue, 30 Apr 2002 02:35:37 +0000 (+0000) Subject: Fix parsing bug which caused the last vkernel to be lost X-Git-Tag: syslinux-3.11~703 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83b3e784e2226dbda6345e54031c0eb4ceca34eb;p=profile%2Fivi%2Fsyslinux.git Fix parsing bug which caused the last vkernel to be lost --- diff --git a/parseconfig.inc b/parseconfig.inc index 2b8f5a9..a46694a 100644 --- a/parseconfig.inc +++ b/parseconfig.inc @@ -18,14 +18,6 @@ ;; ; -; Main loop for configuration file parsing -; -parse_config: - call getcommand - jnc parse_config ; If not EOF do it again - ret ; Return on EOF - -; ; "default" command ; pc_default: mov di,default_cmd @@ -314,6 +306,16 @@ pc_getfile: mov di,trackbuf jmp searchdir ; tailcall ; +; Main loop for configuration file parsing +; +parse_config: + call getcommand + jnc parse_config ; If not EOF do it again + ; + ; The fall through to commit_vk to commit any final + ; VKernel being read + ; +; ; commit_vk: Store the current VKernelBuf into buffer segment ; commit_vk: @@ -334,11 +336,3 @@ commit_vk: cvk_ret: ret cvk_overflow: mov word [VKernelCtr],max_vk ; No more than max_vk, please ret - -; -; End of configuration file -; -; Commit vkernel and then return -; -end_config_file equ commit_vk -