diff --git a/ChangeLog b/ChangeLog index 4a2f402a..c79b2913 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2014-05-27 Benno Schulenberg * src/global.c (shortcut_init): Improve the arrangement of help items under certain compilation conditions. + * src/global.c (strtosc): Make tiny nano a bit tinier. 2014-05-26 Benno Schulenberg * src/cut.c (cut_line): Fix compilation with --enable-tiny. diff --git a/src/global.c b/src/global.c index ddeb06d6..97f504f2 100644 --- a/src/global.c +++ b/src/global.c @@ -1470,6 +1470,7 @@ sc *strtosc(char *input) else if (!strcasecmp(input, "casesens")) { s->scfunc = case_sens_void; s->execute = FALSE; +#ifndef NANO_TINY } else if (!strcasecmp(input, "regexp") || !strcasecmp(input, "regex")) { s->scfunc = regexp_void; @@ -1477,6 +1478,7 @@ sc *strtosc(char *input) } else if (!strcasecmp(input, "backwards")) { s->scfunc = backwards_void; s->execute = FALSE; +#endif } else if (!strcasecmp(input, "dontreplace")) { s->scfunc = no_replace_void; s->execute = FALSE;