From: simon Date: Mon, 24 Jan 2005 12:52:42 +0000 (+0000) Subject: `origtext' was not getting set correctly for escaped tokens (\\, \{, X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/126239bf9360dc2c08c6a206c1eadd0f1d636cdd `origtext' was not getting set correctly for escaped tokens (\\, \{, \}), making it difficult to put CSS fragments in HTML configuration. git-svn-id: svn://svn.tartarus.org/sgt/halibut@5193 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/input.c b/input.c index a616ac9..493449c 100644 --- a/input.c +++ b/input.c @@ -426,6 +426,7 @@ token get_token(input *in) { c == '#' || c == '{' || c == '}' || c == '.') { /* single-char command */ rdadd(&rs, c); + prevpos = rsc.pos; } else if (c == 'u') { int len = 0; do {