aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-09 11:51:45 +0200
committerBjörn Gustavsson <[email protected]>2013-09-09 11:51:45 +0200
commit2f2824519d13e7745c02efbc7c29c37a76885fee (patch)
treee407c21c17d0dc52d4e2c75964c68b2f151a6eb9 /lib/compiler/doc/src
parent5943f00b6485ab54294f6fe1e404b15dd3cc9486 (diff)
parent60984adef62f5e5bf8c65f403d4f8522afb6d40a (diff)
downloadotp-2f2824519d13e7745c02efbc7c29c37a76885fee.tar.gz
otp-2f2824519d13e7745c02efbc7c29c37a76885fee.tar.bz2
otp-2f2824519d13e7745c02efbc7c29c37a76885fee.zip
Merge branch 'bjorn/compiler/return_errors/OTP-11304' into maint
* bjorn/compiler/return_errors/OTP-11304: compiler: Conform returned errors to the documented format
Diffstat (limited to 'lib/compiler/doc/src')
-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 ddaae2655d..f1238f27a6 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>