aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-09 11:52:21 +0200
committerBjörn Gustavsson <[email protected]>2013-09-09 11:52:21 +0200
commit45eaf81506de99c915fe480553bf761667627001 (patch)
tree238f5202860e61ccc73555bd8a68940c6ac92819 /lib/compiler/doc
parentf461ee79e2dde881bc5ba9c7fe729993ccfe2884 (diff)
parent2f2824519d13e7745c02efbc7c29c37a76885fee (diff)
downloadotp-45eaf81506de99c915fe480553bf761667627001.tar.gz
otp-45eaf81506de99c915fe480553bf761667627001.tar.bz2
otp-45eaf81506de99c915fe480553bf761667627001.zip
Merge branch 'maint'
* maint: compiler: Conform returned errors to the documented format
Diffstat (limited to 'lib/compiler/doc')
-rw-r--r--lib/compiler/doc/src/compile.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index 96907f6b10..73d75851cf 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -859,6 +859,10 @@ pi() -> 3.1416.
{ErrorLine, Module, ErrorDescriptor}
</code>
+ <p><c>ErrorLine</c> will be the atom <c>none</c> if the error does
+ not correspond to a specific line (e.g. if the source file does
+ not exist).</p>
+
<p>A string describing the error is obtained with the following
call:</p>
<code>