diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-09 22:27:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-09 22:27:04 +0000 |
commit | 272b0bdc5c87bfffd9b9864eac579487de6636ea (patch) | |
tree | cf76f35a6d1f200be61f7fdbe91baf30e6231b95 /regress/roff/nr/undef.out_ascii | |
parent | 43019a63ee4e47bd3e1e331d85934b3f4d19ba93 (diff) | |
download | mandoc-272b0bdc5c87bfffd9b9864eac579487de6636ea.tar.gz |
When accessing an undefined number register, define it to be zero, like
the previous commit for strings and macros, only technically simpler.
Desired behaviour also mentioned by Werner Lemberg in 2011.
This diff adds functionality but is -21 +19 LOC. :-)
Diffstat (limited to 'regress/roff/nr/undef.out_ascii')
-rw-r--r-- | regress/roff/nr/undef.out_ascii | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/roff/nr/undef.out_ascii b/regress/roff/nr/undef.out_ascii new file mode 100644 index 00000000..e7649eca --- /dev/null +++ b/regress/roff/nr/undef.out_ascii @@ -0,0 +1,21 @@ +NR-UNDEF(1) General Commands Manual NR-UNDEF(1) + + + +NNAAMMEE + nr-undef - using an undefined number register + +DDEESSCCRRIIPPTTIIOONN + The myr register is initially undefined. + + Its initial value is 0. + + After interpolating it, is is now defined. + + After defining it to 1, it is of course still defined. + + After removing it, it is again undefined. + + + +OpenBSD April 9, 2018 NR-UNDEF(1) |