n-t-roff / heirloom-doctools

The Heirloom Documentation Tools: troff, nroff, and related utilities
http://n-t-roff.github.io/heirloom/doctools.html
Other
126 stars 23 forks source link

Fixes for debugging refer #64

Closed fscoto closed 6 years ago

fscoto commented 6 years ago

I put the cart before the horse with the previous pull request. This should help with debugging refer in case it breaks again in the future.

n-t-roff commented 6 years ago

Is the change in hunt3.c really required? if (sinput) and if (sinput!=NULL) are "equivalent" (see for example Stroustrup's C++ 2011 book, he prefers the short first version).

n-t-roff commented 6 years ago

Ah, you did change the logic in one condition...