summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2020-10-14 11:57:24 -0400
committerEric S. Raymond <esr@thyrsus.com>2020-10-14 11:57:24 -0400
commit35c1cf34269654f6bf254be7cd5bd46e28d29bd3 (patch)
treee29dac61df14b8c61fad16b0013aafb6459953ab /src
parent10daafd5b4fbe8cd8c1b2d4ec34548329b14acd6 (diff)
downloadflex-git-35c1cf34269654f6bf254be7cd5bd46e28d29bd3.tar.gz
Remove unused code.
Diffstat (limited to 'src')
-rw-r--r--src/misc.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/misc.c b/src/misc.c
index 952b4a6..6057587 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -633,23 +633,9 @@ void skelout (bool announce)
if (buf[0] == '%') { /* control line */
/* print the control line as a comment. */
if (ctrl.ddebug && buf[1] != '#') {
- bool escaped = buf[strlen (buf) - 1] == '\\';
- if (escaped) {
- comment(buf);
- out ("\\\n");
- } else {
- comment(buf);
- outc ('\n');
- }
+ comment(buf);
+ outc ('\n');
}
-
- /* We've been accused of using cryptic markers in the skel.
- * So we'll use emacs-style-hyphenated-commands.
- * We might consider a hash if this if-else-if-else
- * chain gets too large.
- */
-#define cmd_match(s) (strncmp(buf,(s),strlen(s))==0)
-
if (buf[1] == '#') {
/* %# indicates comment line to be ignored */
}