fix SEGV in AssParser
fix #3505