чување b9e945e23b29b2700ca5c30fe321d2768204eca4
родитељ baa36a5cccc33ed195d07a359ea68c1b490fa2ac
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Sun, 14 Jul 2024 21:23:06 +0200
slweb.1.in: Update DIAGNOSTICS
Diffstat:
измењених датотека: 1, додавања: 12(+), брисања: 7(-)
diff --git a/slweb.1.in b/slweb.1.in
@@ -1350,22 +1350,27 @@ Error messages output by
.Nm
are in the format
.Bd -ragged -offset Ds
-.Nm :
-.Ar filename : Ns Ar lineno : Ns Ar colno : Ar func : Ar msg
+.Nm : Ns
+.Ar filename : Ns Ar lineno : Ns Ar colno : Ns Ar func : Ns
+.Ar source : Ns Ar line : Ns Ar msg
.Ed
.Pp
where the
.Ar filename
is the name of the input file or
-.Ql (stdin)
-when no input file is specified,
+.Ql (init/stdin)
+when no input file is specified or the error happened early on during
+initialization,
.Ar lineno
and
.Ar colno
are the line and column numbers in the input file where the error occured.
-The argument
-.Ar func
-represents the name of the function where the error occured.
+The arguments
+.Ar func ,
+.Ar source
+and
+.Ar line
+the function, filename and line number in the source code file.
.Pp
When the error is caused by an error in the libc function which sets
.Va errno ,