diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-17 03:16:02 -0800 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-17 03:16:02 -0800 |
commit | 30aef21defbebc4ea72454774ff0a833105794af (patch) | |
tree | 7c3810584a143ff0ab38ffbea3d6e9961a16dc91 /doc | |
parent | 911bebe16c6e8a790c2f744a8dcf1cb3a6119044 (diff) | |
parent | b4d6a6aafe400556d3557cb7ccf0a12a40e1b4e7 (diff) | |
download | Nim-30aef21defbebc4ea72454774ff0a833105794af.tar.gz |
Merge pull request #739 from gradha/pr_adds_to_quit_docs
Adds to quit docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index 371f2b9bf..0a9aec8d0 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -4708,7 +4708,11 @@ fatal pragma ------------ The `fatal`:idx: pragma is used to make the compiler output an error message with the given content. In contrast to the ``error`` pragma, compilation -is guaranteed to be aborted by this pragma. +is guaranteed to be aborted by this pragma. Example: + +.. code-block:: nimrod + when not defined(objc): + {.fatal: "Compile this program with the objc command!".} warning pragma -------------- |