summaryrefslogtreecommitdiff
path: root/src/roff/troff/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/troff/input.cpp')
-rw-r--r--src/roff/troff/input.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 55178a2c..9e7bdd92 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -2398,6 +2398,8 @@ void exit_request()
void return_macro_request()
{
+ if (has_arg())
+ input_stack::pop_macro();
input_stack::pop_macro();
tok.next();
}