Bug #34
closed
Parser chokes on IFDEF statement in cEditorEdit.pkg
Added by Wil van Antwerpen about 9 years ago.
Updated about 9 years ago.
Description
I noticed that the code treeview was no longer populated in the cEditorEdit.pkg file.
Turns out that it is due to this tidbit:
#IFDEF TH_SCINTILLA
Class cCodeEdit is a cSciLexer
End_Class
#ELSE
Class cCodeEdit is a cCodeMaxEdit
End_Class
#ENDIF
The parser is somehow counting an end_class too many.
- Assignee set to Wil van Antwerpen
The #IFDEF logic in the parser was originally added in there to take care of constructs like:
#IFDEF TH_SCINTILLA
Class cCodeEdit is a cSciLexer
#ELSE
Class cCodeEdit is a cCodeMaxEdit
#ENDIF
.. code ..
End_Class
as such it did take the Class keyword into account, but not the End_Class keyword.
This has been corrected in parser build 2.3.243 and now both constructs are supported.
- Status changed from New to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF