Displaying 1 result from an estimated 1 matches for "endifd".
Did you mean:
endif
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
Dear developers,
I came across with a bug while parsing Rd files.
Given is the following minimal Rd file:
----
\name{foo}
\title{foo}
\description{
#ifdef windows
win
#endifd
#ifdef unix
unix
#endif
}
----
By accident I have a typo at line 6, instead of having #endif I typed #endifd.
If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R will freeze and the only chance I have is to kill R.
As far as I can tell for c...