roff.c (9f00ceb7) | roff.c (7888c61d) |
---|---|
1/* $Id: roff.c,v 1.188 2013/12/25 00:50:05 schwarze Exp $ */ | 1/* $Id: roff.c,v 1.189 2013/12/30 18:44:06 schwarze Exp $ */ |
2/* 3 * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> 4 * Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * --- 631 unchanged lines hidden (view full) --- 641 p += sz; 642 643 if ('\0' == *p) 644 break; 645 646 if ('\\' == *p) { 647 /* Skip over escapes. */ 648 p++; | 2/* 3 * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> 4 * Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * --- 631 unchanged lines hidden (view full) --- 641 p += sz; 642 643 if ('\0' == *p) 644 break; 645 646 if ('\\' == *p) { 647 /* Skip over escapes. */ 648 p++; |
649 esc = mandoc_escape 650 ((const char const **)&p, NULL, NULL); | 649 esc = mandoc_escape((const char **)&p, NULL, NULL); |
651 if (ESCAPE_ERROR == esc) 652 break; 653 continue; 654 } else if (p == start) { 655 p++; 656 continue; 657 } 658 --- 1408 unchanged lines hidden --- | 650 if (ESCAPE_ERROR == esc) 651 break; 652 continue; 653 } else if (p == start) { 654 p++; 655 continue; 656 } 657 --- 1408 unchanged lines hidden --- |