opengnsys_ipxe/src/image
Michael Brown 31f5211035 [script] Allow commands following a script label
Allow commands to be placed on the same line as a label.  This allows
for improved legibility of loop constructions by incorporating the
loop check condition into the same line as the loop label.  For
example, to iterate over network devices using the forthcoming "inc"
command:

  set idx:int16 0
  :loop isset ${net${idx}/mac} || goto loop_done
    echo net${idx} is a ${net${idx}/chip} with MAC ${net${idx}/mac}
    inc idx && goto loop
  :loop_done

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2013-07-25 13:22:43 +01:00
..
efi_image.c [efi] Add sample platform-generated error disambiguations 2013-04-19 13:34:19 +01:00
elf.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
embedded.c [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
script.c [script] Allow commands following a script label 2013-07-25 13:22:43 +01:00
segment.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00