Differences From Artifact [0ecbd40da7]:
- File datg.py — part of check-in [a4464491a9] at 2018-05-17 08:55:12 on branch rg — [build][core] handle regex tokens (user: olr, size: 5907) [annotate] [blame] [check-ins using]
To Artifact [7505f580c7]:
- File datg.py — part of check-in [1895dda13e] at 2018-05-17 09:09:05 on branch rg — [build][core] use 1 instead of empty string for specific tags (user: olr, size: 5905) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
173 174 175 176 177 178 179 |
if type(arc) == str and arc.startswith("~"):
dRegex[arc[1:]] = oNode.__hash__()
else:
dNode[arc] = oNode.__hash__()
if dRegex:
dNode["<regex>"] = dRegex
if self.bFinal:
| | | | 173 174 175 176 177 178 179 180 181 182 183 |
if type(arc) == str and arc.startswith("~"):
dRegex[arc[1:]] = oNode.__hash__()
else:
dNode[arc] = oNode.__hash__()
if dRegex:
dNode["<regex>"] = dRegex
if self.bFinal:
dNode["<final>"] = 1
if self.bInfo:
dNode["<info>"] = 1
return dNode
|