From 9085ee212aa6894a65b5f254b99d53eb241d6300 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 8 Apr 2010 07:05:38 +0000 Subject: Removed pipe from front-end ("typographic") recognition as punctuation (noted by Ingo Schwarze). --- term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index 56efdc0f..71c59159 100644 --- a/term.c +++ b/term.c @@ -526,10 +526,12 @@ term_word(struct termp *p, const char *word) p->flags |= TERMP_NOSPACE; } + /* + * Note that we don't process the pipe: the parser sees it as + * punctuation, but we don't in terms of typography. + */ if (sv[0] && 0 == sv[1]) switch (sv[0]) { - case('|'): - /* FALLTHROUGH */ case('('): /* FALLTHROUGH */ case('['): -- cgit