summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-01-24 12:52:42 +0000
committerSimon Tatham <anakin@pobox.com>2005-01-24 12:52:42 +0000
commitaf841edaccd5f251bc4f63ad3e6e2e735b660768 (patch)
tree92b20662c359bd0dc9e04acaa5cac140c320309c
parentffcdd42f7f9d5238f2bd6c36aaf2f26728858e4d (diff)
downloadhalibut-af841edaccd5f251bc4f63ad3e6e2e735b660768.zip
halibut-af841edaccd5f251bc4f63ad3e6e2e735b660768.tar.gz
halibut-af841edaccd5f251bc4f63ad3e6e2e735b660768.tar.bz2
halibut-af841edaccd5f251bc4f63ad3e6e2e735b660768.tar.xz
`origtext' was not getting set correctly for escaped tokens (\\, \{,
\}), making it difficult to put CSS fragments in HTML configuration. [originally from svn r5193]
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
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 {