summaryrefslogtreecommitdiff
path: root/python/sl.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/sl.py
parent20d9c7e226ec7e7931a209cde597fbe56b3b8e64 (diff)
Add hint messages for syntax errors
Diffstat (limited to 'python/sl.py')
-rw-r--r--python/sl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/sl.py b/python/sl.py
index b782298..e829a82 100644
--- a/python/sl.py
+++ b/python/sl.py
@@ -8,4 +8,11 @@ hint = {
'test_results': '''\
<p>Program je opravil [%=passed%] / [%=total%] testov.</p>
''',
+
+ 'syntax_error': '''\
+<p>Program vsebuje sintaktično napako v vrstici [%=lineno%]:</p>
+<pre>
+[%=message%]
+</pre>
+''',
}