fix: should check square-bracket for literal token.