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

Diff for /mandoc/roff.c between version 1.223 and 1.226

version 1.223, 2014/08/01 15:08:46 version 1.226, 2014/08/19 16:52:32
Line 15 
Line 15 
  * 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.
  */   */
 #ifdef HAVE_CONFIG_H  
 #include "config.h"  #include "config.h"
 #endif  
   
   #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
 #include <stdio.h>  #include <stdio.h>
Line 27 
Line 27 
   
 #include "mandoc.h"  #include "mandoc.h"
 #include "mandoc_aux.h"  #include "mandoc_aux.h"
 #include "libroff.h"  
 #include "libmandoc.h"  #include "libmandoc.h"
   #include "libroff.h"
   
 /* Maximum number of nested if-else conditionals. */  /* Maximum number of nested if-else conditionals. */
 #define RSTACK_MAX      128  #define RSTACK_MAX      128
Line 1975  roff_so(ROFF_ARGS)
Line 1975  roff_so(ROFF_ARGS)
         char *name;          char *name;
   
         name = *bufp + pos;          name = *bufp + pos;
         mandoc_vmsg(MANDOCERR_SO, r->parse, ln, ppos, ".so %s", name);          mandoc_vmsg(MANDOCERR_SO, r->parse, ln, ppos, "so %s", name);
   
         /*          /*
          * Handle `so'.  Be EXTREMELY careful, as we shouldn't be           * Handle `so'.  Be EXTREMELY careful, as we shouldn't be
Line 2067  roff_getname(struct roff *r, char **cpp, int ln, int p
Line 2067  roff_getname(struct roff *r, char **cpp, int ln, int p
                 cp++;                  cp++;
                 if ('\\' == *cp)                  if ('\\' == *cp)
                         continue;                          continue;
                 mandoc_msg(MANDOCERR_NAMESC, r->parse, ln, pos, NULL);                  mandoc_vmsg(MANDOCERR_NAMESC, r->parse, ln, pos,
                       "%.*s", (int)(cp - name + 1), name);
                 mandoc_escape((const char **)&cp, NULL, NULL);                  mandoc_escape((const char **)&cp, NULL, NULL);
                 break;                  break;
         }          }

Legend:
Removed from v.1.223  
changed lines
  Added in v.1.226

CVSweb