Concerning this code in parser_tools.py:
def get_value(lines, token, start, end = 0, default = ""):
""" get_value(lines, token, start[[, end], default]) -> list of strings
Return tokens after token for the first line, in lines, where
token is the first element."""
i = find_token_exact(lines, token, start, end)
if i == -1:
return default
if len(lines[i].split()) > 1:
return lines[i].split()[1]
Is that a typo or what? It returns the second string on the line, only,
so if we had:
\whatever "this is"
it will return: "this. Right?
else:
return default
Richard