diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-01-11 08:48:48 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-01-11 08:48:48 -0600 |
commit | 9b5c7d850934db2e9c4099e4c7df4875fc126b80 (patch) | |
tree | 14f656cdd9ec0ab8fae105f634824c6fa7ed5ac1 /src | |
parent | 0194401004c75296907872724b35a0f434bc0bef (diff) | |
download | groff-git-9b5c7d850934db2e9c4099e4c7df4875fc126b80.tar.gz |
[tbl]: Really fix Savannah #63449.
* src/preproc/tbl/main.cpp (process_format): "Or" on the `HAS_TOP_VLINE`
flag if the format specification begins with a "|"; the beginning is a
separate state in the FSM used to parse the description. I missed it
in commit 0e93ab4102, 1 December.
Fixes <https://savannah.gnu.org/bugs/?63449>.
Diffstat (limited to 'src')
-rw-r--r-- | src/preproc/tbl/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp index 77a636888..516d1b649 100644 --- a/src/preproc/tbl/main.cpp +++ b/src/preproc/tbl/main.cpp @@ -837,6 +837,7 @@ format *process_format(table_input &in, options *opt, got_period = true; break; case '|': + opt->flags |= table::HAS_TOP_VLINE; vline_count++; break; case ' ': |