Fix BASIC preprocessor heap corruption and token table issues
- Fix TokenLabelInfo array size: INTERFACE+1 -> PP_CONST+1 to prevent out-of-bounds access with preprocessor tokens - Restore PPIf whi
Fix BASIC preprocessor heap corruption and token table issues
- Fix TokenLabelInfo array size: INTERFACE+1 -> PP_CONST+1 to prevent out-of-bounds access with preprocessor tokens - Restore PPIf while-loop body with proper nesting tracking - Extend evaluatePPTerm for NE/LT/GT/LE/GE comparison operators - Fix #Const to use EQ token instead of ASSIGN - Rewrite skipStatement with nested #If tracking - Simplify skipUntilEndIf to use Next() directly - Fix StmntTable entries for PP_IF/PP_ELSEIF/PP_ELSE/PP_ENDIF (bMain: N->Y) - Update Parse() to handle PP tokens in error path - Add maConstNumMap for numeric #Const values - Fix sbxmod_override in test Makefile
show more ...
|