sc_prohibit_atoi_atof \
sc_prohibit_stat_st_blocks \
sc_space_tab \
+ sc_texinfo_acronym \
sc_useless_cpp_parens
sc_obs_header_regex = \
\<(STDC_HEADERS|HAVE_(LIMITS|STRING|UNISTD|STDLIB)_H)\>
sc_prohibit_obsolete_HAVE_HEADER_H:
- @re='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \
- msg='remove the above obsolete #if...HAVE_HEADER_H test(s)' \
- $(_prohibit_regexp)
+ @prohibit='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \
+ halt='remove the above obsolete #if...HAVE_HEADER_H test(s)' \
+ $(_sc_search_regexp)
update-copyright-env = \
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
# Indent only with spaces.
sc_prohibit_tab_based_indentation:
- @re='^ * ' \
- msg='TAB in indentation; use only spaces' \
- $(_prohibit_regexp)
+ @prohibit='^ * ' \
+ halt='TAB in indentation; use only spaces' \
+ $(_sc_search_regexp)
# Don't use "indent-tabs-mode: nil" anymore. No longer needed.
sc_prohibit_emacs__indent_tabs_mode__setting:
- @re='^( *[*#] *)?indent-tabs-mode:' \
- msg='use of emacs indent-tabs-mode: setting' \
- $(_prohibit_regexp)
+ @prohibit='^( *[*#] *)?indent-tabs-mode:' \
+ halt='use of emacs indent-tabs-mode: setting' \
+ $(_sc_search_regexp)
include $(srcdir)/dist-check.mk
if (ptr_offset == 0) {
ptr_offset = (ush)((uch*)buf-0);
} else if (ptr_offset != (ush)((uch*)buf-0)) {
- error("inconsistent ptr_offset");
+ error(_("inconsistent ptr_offset"));
}
*((ush*)&buf+1) += (ptr_offset + 15) >> 4;
*(ush*)&buf = 0;