summaryrefslogtreecommitdiff
path: root/src/regex-emacs.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-12-17 09:31:08 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-12-17 09:31:53 -0800
commit4d77c4ac3b9c40c62b1505bcaa1e0377d63a4956 (patch)
tree6ee9aff2af6310152d545996fbc52dee6915d884 /src/regex-emacs.c
parent739dca7818514f1b7c318fd195f90535a416f57f (diff)
downloademacs-4d77c4ac3b9c40c62b1505bcaa1e0377d63a4956.tar.gz
emacs-4d77c4ac3b9c40c62b1505bcaa1e0377d63a4956.tar.bz2
emacs-4d77c4ac3b9c40c62b1505bcaa1e0377d63a4956.zip
Assume ‘emacs’ is defined in Emacs-only code
* src/charset.c, src/coding.c, src/coding.h, src/gmalloc.c: * src/ralloc.c, src/regex-emacs.c: Simplify slightly by assuming that ‘emacs’ is defined. These modules have long been specific to Emacs, and are not used elsewhere.
Diffstat (limited to 'src/regex-emacs.c')
-rw-r--r--src/regex-emacs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index d19838a876e..5cb7bba158e 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -698,7 +698,6 @@ print_partial_compiled_pattern (re_char *start, re_char *end)
fprintf (stderr, "/%d", mcnt);
break;
-# ifdef emacs
case at_dot:
fprintf (stderr, "/at_dot");
break;
@@ -714,7 +713,6 @@ print_partial_compiled_pattern (re_char *start, re_char *end)
mcnt = *p++;
fprintf (stderr, "/%d", mcnt);
break;
-# endif /* emacs */
case begbuf:
fprintf (stderr, "/begbuf");
@@ -753,9 +751,6 @@ print_compiled_pattern (struct re_pattern_buffer *bufp)
printf ("re_nsub: %zu\t", bufp->re_nsub);
printf ("regs_alloc: %d\t", bufp->regs_allocated);
printf ("can_be_null: %d\t", bufp->can_be_null);
-#ifndef emacs
- printf ("syntax: %lx\n", bufp->syntax);
-#endif
fflush (stdout);
/* Perhaps we should print the translate table? */
}