[BACK]Return to mdoc_action.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/mdoc_action.c between version 1.42 and 1.45

version 1.42, 2009/10/22 17:54:24 version 1.45, 2009/10/26 10:36:46
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #ifndef OSNAME
 #include <sys/utsname.h>  #include <sys/utsname.h>
   #endif
   
 #include <assert.h>  #include <assert.h>
 #include <errno.h>  #include <errno.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   #include <time.h>
   
 #include "libmdoc.h"  #include "libmdoc.h"
   
Line 174  static const struct actions mdoc_actions[MDOC_MAX] = {
Line 177  static const struct actions mdoc_actions[MDOC_MAX] = {
         { NULL, NULL }, /* Ud */          { NULL, NULL }, /* Ud */
         { NULL, post_lb }, /* Lb */          { NULL, post_lb }, /* Lb */
         { NULL, NULL }, /* Lp */          { NULL, NULL }, /* Lp */
         { NULL, post_tilde }, /* Lk */          { NULL, NULL }, /* Lk */
         { NULL, NULL }, /* Mt */          { NULL, NULL }, /* Mt */
         { NULL, NULL }, /* Brq */          { NULL, NULL }, /* Brq */
         { NULL, NULL }, /* Bro */          { NULL, NULL }, /* Bro */
Line 186  static const struct actions mdoc_actions[MDOC_MAX] = {
Line 189  static const struct actions mdoc_actions[MDOC_MAX] = {
         { NULL, NULL }, /* %Q */          { NULL, NULL }, /* %Q */
         { NULL, NULL }, /* br */          { NULL, NULL }, /* br */
         { NULL, NULL }, /* sp */          { NULL, NULL }, /* sp */
           { NULL, NULL }, /* %U */
 };  };
   
 #define RSORD_MAX 13  #define RSORD_MAX 14
   
 static  const int rsord[RSORD_MAX] = {  static  const int rsord[RSORD_MAX] = {
         MDOC__A,          MDOC__A,
Line 203  static const int rsord[RSORD_MAX] = {
Line 207  static const int rsord[RSORD_MAX] = {
         MDOC__Q,          MDOC__Q,
         MDOC__D,          MDOC__D,
         MDOC__O,          MDOC__O,
         MDOC__C          MDOC__C,
           MDOC__U
 };  };
   
   
Line 770  post_tilde(POST_ARGS)
Line 775  post_tilde(POST_ARGS)
         np = n;          np = n;
         m->next = MDOC_NEXT_CHILD;          m->next = MDOC_NEXT_CHILD;
   
         /* XXX: not documented for `Lk'. */  
         if ( ! mdoc_word_alloc(m, n->line, n->pos, "~"))          if ( ! mdoc_word_alloc(m, n->line, n->pos, "~"))
                 return(0);                  return(0);
         m->last = np;          m->last = np;

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.45

CVSweb