Skip to content
Snippets Groups Projects
Commit b475aeef authored by Tobias Leibner's avatar Tobias Leibner Committed by René Fritze
Browse files

[cmake.py] add / to word characters

parent 8558ded5
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ def parse_cache(filepath):
import pyparsing as p
EQ = p.Literal('=').suppress()
DP = p.Literal(':').suppress()
token = p.Word(p.alphanums+'_- .')
token = p.Word(p.alphanums+'/_- .')
line = p.Group(token('key') + DP + token('type') + EQ + p.restOfLine('value'))
line.ignore(p.pythonStyleComment)
line.ignore(p.dblSlashComment)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment