Differences From Artifact [ad40703abe]:
- File compile_rules_graph.py — part of check-in [d5029b9ccc] at 2018-06-25 14:22:01 on branch rg — [build][bugs] compile rules graph: fix disambiguator and don’t use repositioning if selector is empty (user: olr, size: 15822) [annotate] [blame] [check-ins using] [more...]
To Artifact [19fb543170]:
- File compile_rules_graph.py — part of check-in [e9e1583710] at 2018-06-26 20:19:48 on branch rg — [build] graph rules reader: prepare function for text processor (user: olr, size: 15875) [annotate] [blame] [check-ins using]
| ︙ | |||
236 237 238 239 240 241 242 243 244 245 246 247 248 249 | 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | + |
sAction = sAction[1:-1]
if not sMsg:
print("# Error in action at line " + sActionId + ": The message is empty.")
return [sOption, sCondition, cAction, sAction, iStartAction, iEndAction, nPriority, sMsg, sURL]
elif cAction == "~":
## text processor
if sAction[0:1] == "=":
sAction = prepareFunction(sAction, True)
dFUNCTIONS["_g_p_"+sActionId] = sAction[1:]
sAction = "=_g_p_"+sActionId
elif sAction.startswith('"') and sAction.endswith('"'):
sAction = sAction[1:-1]
return [sOption, sCondition, cAction, sAction, iStartAction, iEndAction]
elif cAction == "/":
## tags
|
| ︙ |