diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2016-03-16 11:12:29 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2016-03-16 11:12:29 +0000 |
commit | 167af6d835abf1029fef4e064bed4b1352414237 (patch) | |
tree | e5c9833f3ccaec448580b218cd5051df26067835 /Build/source/utils | |
parent | 8a6ce7667a7b0fd11cb45661115417bd22abf5d5 (diff) |
asymptote: upstream patch to prevent crashes in xasy
https://github.com/vectorgraphics/asymptote/commit/ee9839887c7006a4e5138afe8b039669082c904a
git-svn-id: svn://tug.org/texlive/trunk@40041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rwxr-xr-x | Build/source/utils/asymptote/GUI/xasyFile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/GUI/xasyFile.py b/Build/source/utils/asymptote/GUI/xasyFile.py index e94b411fbbb..7516fc7d3b5 100755 --- a/Build/source/utils/asymptote/GUI/xasyFile.py +++ b/Build/source/utils/asymptote/GUI/xasyFile.py @@ -211,7 +211,7 @@ def parsePathExpression(expr): for a in range(len(nodes)): if nodes[a] != "cycle": nodes[a] = eval(nodes[a]) - controls = [eval(a.replace("controls", "").split("and")) for a in tokens if a.startswith("controls")] + controls = [[eval(b) for b in a.replace("controls", "").split("and")] for a in tokens if a.startswith("controls")] result.initFromControls(nodes, controls) else: #parse a path without control points |