Support for "else if" syntax

This commit is contained in:
caheckman 2021-07-29 14:43:36 -04:00
parent 6b04eb793f
commit 79fd837145
7 changed files with 197 additions and 25 deletions

View file

@ -149,7 +149,8 @@ public:
falsebranch = 0x800, ///< Print the false branch (for flat)
nofallthru = 0x1000, ///< Fall-thru no longer exists
negatetoken = 0x2000, ///< Print the token representing the negation of current token
hide_thisparam = 0x4000 ///< Do not print the 'this' parameter in argument lists
hide_thisparam = 0x4000, ///< Do not print the 'this' parameter in argument lists
pending_brace = 0x8000 ///< The current block may need to surround itself with additional braces
};
/// \brief Possible types of Atom
enum tagtype {
@ -282,7 +283,6 @@ protected:
int4 getPending(void) const { return pending; } ///< Get the number of pending nodes yet to be put on the RPN stack
void resetDefaultsInternal(void); ///< Reset options to default for PrintLanguage
/// \brief Print a single unicode character as a \e character \e constant for the high-level language
///
/// For most languages, this prints the character surrounded by single quotes.