X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/ddfe426573957fa52102832a51582bb134ee7b42..211bfc1487ed4f34b54904b011a65ae05aefa19d:/doc/sod.sty diff --git a/doc/sod.sty b/doc/sod.sty index acc4370..9fffa17 100644 --- a/doc/sod.sty +++ b/doc/sod.sty @@ -7,7 +7,7 @@ %%%----- Licensing notice --------------------------------------------------- %%% -%%% This file is part of the Sensble Object Design, an object system for C. +%%% This file is part of the Sensible Object Design, an object system for C. %%% %%% SOD is free software; you can redistribute it and/or modify %%% it under the terms of the GNU General Public License as published by @@ -116,7 +116,7 @@ \atdef !{\m@maybe|\@scripts} \def\returns{\m@maybe\longrightarrow\m@maybe@end\hspace{0.5em}\ignorespaces} \atdef >{\leavevmode\unskip\hspace{0.5em}\returns} -\atdef -#1{\if>#1{\ensuremath\rightarrow}\fi} +\atdef -#1{\if>#1\hbox{--\raisebox{.4pt}{>}}\penalty200\relax\fi} %% Comment setting. \atdef ;#1\\{\normalfont\itshape;#1\\} @@ -151,6 +151,7 @@ \definedescribecategory{sym}{symbol} \definedescribecategory{fun}{function} \definedescribecategory{gf}{generic function} +\definedescribecategory{msg}{message} \definedescribecategory{var}{variable} \definedescribecategory{modvar}{module variable} \definedescribecategory{const}{constant}