comparison src/regexp_nfa.c @ 15490:98c35d312987 v8.1.0753

patch 8.1.0753: printf format not checked for semsg() commit https://github.com/vim/vim/commit/b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 15 20:19:40 2019 +0100 patch 8.1.0753: printf format not checked for semsg() Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Jan 2019 20:30:07 +0100
parents 55ccc2d353bd
children 639b8318472c
comparison
equal deleted inserted replaced
15489:3bbefd5c9d0d 15490:98c35d312987
1305 { 1305 {
1306 semsg(_(e_ill_char_class), c); 1306 semsg(_(e_ill_char_class), c);
1307 rc_did_emsg = TRUE; 1307 rc_did_emsg = TRUE;
1308 return FAIL; 1308 return FAIL;
1309 } 1309 }
1310 siemsg("INTERNAL: Unknown character class char: %ld", c); 1310 siemsg("INTERNAL: Unknown character class char: %d", c);
1311 return FAIL; 1311 return FAIL;
1312 } 1312 }
1313 #ifdef FEAT_MBYTE 1313 #ifdef FEAT_MBYTE
1314 /* When '.' is followed by a composing char ignore the dot, so that 1314 /* When '.' is followed by a composing char ignore the dot, so that
1315 * the composing char is matched here. */ 1315 * the composing char is matched here. */