I wonder a bit about the PushPopHelper usage in Layout.cpp. The "size" of the pushed keyword table is typically smaller than the actual table, e.g.
LexerKeyword marginTags[] = { { "dynamic", MARGIN_DYNAMIC }, { "first_dynamic", MARGIN_FIRST_DYNAMIC }, { "manual", MARGIN_MANUAL }, { "right_address_box", MARGIN_RIGHT_ADDRESS_BOX }, { "static", MARGIN_STATIC } }; PushPopHelper pph(lexrc, marginTags, MARGIN_RIGHT_ADDRESS_BOX); i.e. the Lexer won't recognize 'static'? Does this make sense? Andre'