comparison docs/manual.docbook.sgml @ 231:2cc599f1bebf

Added --define to lwasm documentation. Added documentation of the -D/--define command line option for lwasm. It has been present for a long time but has somehow escaped documentation.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 23:12:09 -0600
parents 5d969517db74
children 7da0452512b2
comparison
equal deleted inserted replaced
230:e09985968e64 231:2cc599f1bebf
320 <para> 320 <para>
321 Add <option>path</option> to the end of the include path. 321 Add <option>path</option> to the end of the include path.
322 </para> 322 </para>
323 </listitem> 323 </listitem>
324 </varlistentry> 324 </varlistentry>
325
326 <varlistentry>
327 <term><option>--define=SYM[=VAL]</option></term>
328 <term><option>-I SYM[=VAL]</option></term>
329 <listitem>
330 <para>
331 Pre-defines the symbol SYM as either the specified VAL. If VAL is omitted,
332 the symbol is defined as 1. The symbol will be defined as though it were
333 defined using the SET directive in the assembly source. That means it can
334 be overridden by a SET directive within the source code. Attempting to
335 redefine SYM using EQU will result in a multiply defined symbol error.
336 </para>
337 </listitem>
338 </varlistentry>
339
325 340
326 <varlistentry> 341 <varlistentry>
327 <term><option>--help</option></term> 342 <term><option>--help</option></term>
328 <term><option>-?</option></term> 343 <term><option>-?</option></term>
329 <listitem> 344 <listitem>