mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
The message is now optional in .assert
git-svn-id: svn://svn.cc65.org/cc65/trunk@3475 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9cd1ef08cc
commit
c32f04a3fd
@ -1655,11 +1655,12 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
<sect1><tt>.ASSERT</tt><label id=".ASSERT"><p>
|
<sect1><tt>.ASSERT</tt><label id=".ASSERT"><p>
|
||||||
|
|
||||||
Add an assertion. The command is followed by an expression, an action
|
Add an assertion. The command is followed by an expression, an action
|
||||||
specifier and a message that is output in case the assertion fails. The
|
specifier, and an optional message that is output in case the assertion
|
||||||
action specifier may be one of <tt/warning/ or <tt/error/. The assertion
|
fails. If no message was given, the string "Assertion failed" is used. The
|
||||||
is evaluated by the assembler if possible, and also passed to the linker
|
action specifier may be one of <tt/warning/ or <tt/error/. The assertion is
|
||||||
in the object file (if one is generated). The linker will then evaluate
|
evaluated by the assembler if possible, and also passed to the linker in the
|
||||||
the expression when segment placement has been done.
|
object file (if one is generated). The linker will then evaluate the
|
||||||
|
expression when segment placement has been done.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@ -1672,7 +1673,7 @@ Here's a list of all control commands and a description, what they do:
|
|||||||
the case. More complex expressions are possible. The action specifier
|
the case. More complex expressions are possible. The action specifier
|
||||||
<tt/warning/ outputs a warning, while the <tt/error/ specifier outputs
|
<tt/warning/ outputs a warning, while the <tt/error/ specifier outputs
|
||||||
an error message. In the latter case, generation if the output file is
|
an error message. In the latter case, generation if the output file is
|
||||||
suppressed.
|
suppressed in both the assembler and linker.
|
||||||
|
|
||||||
|
|
||||||
<sect1><tt>.AUTOIMPORT</tt><label id=".AUTOIMPORT"><p>
|
<sect1><tt>.AUTOIMPORT</tt><label id=".AUTOIMPORT"><p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user