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

Diff for /mandoc/man_term.c between version 1.171 and 1.172

version 1.171, 2015/04/02 21:36:50 version 1.172, 2015/04/02 22:48:17
Line 48  struct mtermp {
Line 48  struct mtermp {
   
 #define DECL_ARGS         struct termp *p, \  #define DECL_ARGS         struct termp *p, \
                           struct mtermp *mt, \                            struct mtermp *mt, \
                           struct man_node *n, \                            struct roff_node *n, \
                           const struct man_meta *meta                            const struct man_meta *meta
   
 struct  termact {  struct  termact {
Line 63  static void    print_man_node(DECL_ARGS);
Line 63  static void    print_man_node(DECL_ARGS);
 static  void              print_man_head(struct termp *, const void *);  static  void              print_man_head(struct termp *, const void *);
 static  void              print_man_foot(struct termp *, const void *);  static  void              print_man_foot(struct termp *, const void *);
 static  void              print_bvspace(struct termp *,  static  void              print_bvspace(struct termp *,
                                 const struct man_node *, int);                                  const struct roff_node *, int);
   
 static  int               pre_B(DECL_ARGS);  static  int               pre_B(DECL_ARGS);
 static  int               pre_HP(DECL_ARGS);  static  int               pre_HP(DECL_ARGS);
Line 140  terminal_man(void *arg, const struct man *man)
Line 140  terminal_man(void *arg, const struct man *man)
 {  {
         struct termp            *p;          struct termp            *p;
         const struct man_meta   *meta;          const struct man_meta   *meta;
         struct man_node         *n;          struct roff_node        *n;
         struct mtermp            mt;          struct mtermp            mt;
   
         p = (struct termp *)arg;          p = (struct termp *)arg;
Line 191  terminal_man(void *arg, const struct man *man)
Line 191  terminal_man(void *arg, const struct man *man)
  * first, print it.   * first, print it.
  */   */
 static void  static void
 print_bvspace(struct termp *p, const struct man_node *n, int pardist)  print_bvspace(struct termp *p, const struct roff_node *n, int pardist)
 {  {
         int      i;          int      i;
   
Line 280  static int
Line 280  static int
 pre_alternate(DECL_ARGS)  pre_alternate(DECL_ARGS)
 {  {
         enum termfont            font[2];          enum termfont            font[2];
         struct man_node         *nn;          struct roff_node        *nn;
         int                      savelit, i;          int                      savelit, i;
   
         switch (n->tok) {          switch (n->tok) {
Line 488  static int
Line 488  static int
 pre_HP(DECL_ARGS)  pre_HP(DECL_ARGS)
 {  {
         struct roffsu            su;          struct roffsu            su;
         const struct man_node   *nn;          const struct roff_node  *nn;
         int                      len;          int                      len;
   
         switch (n->type) {          switch (n->type) {
Line 562  static int
Line 562  static int
 pre_IP(DECL_ARGS)  pre_IP(DECL_ARGS)
 {  {
         struct roffsu            su;          struct roffsu            su;
         const struct man_node   *nn;          const struct roff_node  *nn;
         int                      len, savelit;          int                      len, savelit;
   
         switch (n->type) {          switch (n->type) {
Line 643  static int
Line 643  static int
 pre_TP(DECL_ARGS)  pre_TP(DECL_ARGS)
 {  {
         struct roffsu            su;          struct roffsu            su;
         struct man_node         *nn;          struct roff_node        *nn;
         int                      len, savelit;          int                      len, savelit;
   
         switch (n->type) {          switch (n->type) {

Legend:
Removed from v.1.171  
changed lines
  Added in v.1.172

CVSweb