parse.py: Simplified string literals parsing