Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
247 holmgren 1
Author: Magnus Holmgren <holmgren@debian.org>
2
Forwarded: yes
3
Description: Fix the following autodoc errors
4
 ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/src/modules/Gmp/mpz_glue.c, lines: 668..668), "DocParser", "@exp cannot be used like this: @exp{ ... @}")>
5
 ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/__builtin.pmod/Nettle.pmod/Sign.pike, lines: 102..102), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>
6
 ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/Crypto.pmod/ECC.pmod, lines: 286..286), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>
7
 ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/Crypto.pmod/RSA.pmod, lines: 368..368), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>
8
 
9
--- a/lib/modules/Crypto.pmod/ECC.pmod
10
+++ b/lib/modules/Crypto.pmod/ECC.pmod
11
@@ -283,9 +283,9 @@ class Curve {
12
     //! @returns
13
     //!   Returns @expr{0@} (zero) on failure, and an array
14
     //!   @array
15
-    //!     @item mapping(string(7bit):string(7bit)|int) 0
16
+    //!     @elem mapping(string(7bit):string(7bit)|int) 0
17
     //!       The JOSE header.
18
-    //!     @item string(8bit) 1
19
+    //!     @elem string(8bit) 1
20
     //!       The signed message.
21
     //!   @endarray
22
     //!
23
--- a/lib/modules/Crypto.pmod/RSA.pmod
24
+++ b/lib/modules/Crypto.pmod/RSA.pmod
25
@@ -365,9 +365,9 @@ class State {
26
   //! @returns
27
   //!   Returns @expr{0@} (zero) on failure, and an array
28
   //!   @array
29
-  //!     @item mapping(string(7bit):string(7bit)|int) 0
30
+  //!     @elem mapping(string(7bit):string(7bit)|int) 0
31
   //!       The JOSE header.
32
-  //!     @item string(8bit) 1
33
+  //!     @elem string(8bit) 1
34
   //!       The signed message.
35
   //!   @endarray
36
   //!
37
--- a/lib/modules/__builtin.pmod/Nettle.pmod/Sign.pike
38
+++ b/lib/modules/__builtin.pmod/Nettle.pmod/Sign.pike
39
@@ -99,9 +99,9 @@ string(7bit) jose_sign(string(8bit) mess
40
 //! @returns
41
 //!   Returns @expr{0@} (zero) on failure, and an array
42
 //!   @array
43
-//!     @item mapping(string(7bit):string(7bit)|int) 0
44
+//!     @elem mapping(string(7bit):string(7bit)|int) 0
45
 //!       The JOSE header.
46
-//!     @item string(8bit) 1
47
+//!     @elem string(8bit) 1
48
 //!       The signed message.
49
 //!   @endarray
50
 //!
51
--- a/src/modules/Gmp/mpz_glue.c
52
+++ b/src/modules/Gmp/mpz_glue.c
53
@@ -665,7 +665,7 @@ static void mpzmod_create(INT32 args)
54
 /*! @decl int cast_to_int()
55
  *! Casts the object to an integer.
56
  *! @deprecated
57
- *!   Use @exp{(int)@} instead.
58
+ *!   Use @expr{(int)@} instead.
59
  */
60
 static void mpzmod_get_int(INT32 args)
61
 {