~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
man supports `.SS' for subsection headings. Use it.
[sgt/halibut]
/
input.c
diff --git
a/input.c
b/input.c
index
365fec0
..
98a3034
100644
(file)
--- a/
input.c
+++ b/
input.c
@@
-103,6
+103,8
@@
static int get(input *in, filepos *pos, rdstringc *rsc) {
}
else if (in->stack) {
wchar_t c = in->stack->text[in->stack->ptr];
+ if (pos)
+ *pos = in->stack->pos;
if (in->stack->text[++in->stack->ptr] == L'\0') {
macrostack *tmp = in->stack;
in->stack = tmp->next;