Actions
Bug #63
closedMultiline macros seem to bug
% Done:
100%
Company:
-
Contact person:
-
Additional contact persons:
-
Description
When creating macros with multiple lines, everything works fine. But when the world is loaded the next time CocoMUD starts, there is an error:
Traceback (most recent call last): File "cocomud.py", line 53, in <module> window.panel.CreateClient() File "C:\Users\Vincent\src\cocomud\src\ui\window.py", line 385, in CreateClient world.load() File "C:\Users\Vincent\src\cocomud\src\world.py", line 99, in load self.sharp_engine.execute(content, variables=False) File "C:\Users\Vincent\src\cocomud\src\sharp\engine.py", line 84, in execute exec(instruction, globals, locals) File "<string>", line 1 macro(u'F8', u' ^ SyntaxError: EOL while scanning string literal
Added by Vincent Le Goff about 8 years ago
Updated by Vincent Le Goff about 8 years ago
- Status changed from Open to Closed
- Assignee set to Vincent Le Goff
- % Done changed from 0 to 100
Fixed in commit f089320618d0364852666d167b959739d289359f.
In fact, every SharpScript instruction on multiple lines had this problem, but it was hard to find out, since the SharpEngine.feed() method behaved as expected.
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page
Fix #63: Multiline macros seem to bug