mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +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>
|
||||
|
||||
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
|
||||
action specifier may be one of <tt/warning/ or <tt/error/. The assertion
|
||||
is evaluated by the assembler if possible, and also passed to the linker
|
||||
in the object file (if one is generated). The linker will then evaluate
|
||||
the expression when segment placement has been done.
|
||||
specifier, and an optional message that is output in case the assertion
|
||||
fails. If no message was given, the string "Assertion failed" is used. The
|
||||
action specifier may be one of <tt/warning/ or <tt/error/. The assertion is
|
||||
evaluated by the assembler if possible, and also passed to the linker in the
|
||||
object file (if one is generated). The linker will then evaluate the
|
||||
expression when segment placement has been done.
|
||||
|
||||
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
|
||||
<tt/warning/ outputs a warning, while the <tt/error/ specifier outputs
|
||||
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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user