summaryrefslogtreecommitdiff
path: root/python/en.py
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-08 12:23:31 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-08 12:23:31 +0200
commit32b86afb8b11c14779c7e7c30c2e3e90d99de980 (patch)
treead37b7839f49a7552bbb5877c59f2892f5ba8ce2 /python/en.py
parent20d9c7e226ec7e7931a209cde597fbe56b3b8e64 (diff)
Add hint messages for syntax errors
Diffstat (limited to 'python/en.py')
-rw-r--r--python/en.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/en.py b/python/en.py
index d3189d9..561db85 100644
--- a/python/en.py
+++ b/python/en.py
@@ -8,4 +8,11 @@ hint = {
'test_results': '''\
<p>Your code passed [%=passed%] / [%=total%] tests.</p>
''',
+
+ 'syntax_error': '''\
+<p>Your code contains a syntax error in line [%=lineno%]:</p>
+<pre>
+[%=message%]
+</pre>
+''',
}