Project

Profile

Help

Bug #63

closed

Multiline macros seem to bug

Added by Vincent Le Goff almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
SharpScript
Sprint/Milestone:
% 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

Please register to edit this issue

Also available in: Atom PDF Tracking page