diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-04-11 08:45:29 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-04-11 08:45:29 +0200 |
commit | e1abfb76324e515ec8810d8832a1217c21133101 (patch) | |
tree | 5391cd9999bf14ec3b8282c761d203cc11b09d82 | |
parent | acce0e01cdb2a57cda35e040035dbf1da6b96031 (diff) |
Prolog: no hint for using b/t (valid for trees group)
-rw-r--r-- | prolog/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prolog/common.py b/prolog/common.py index 5187c65..d15003d 100644 --- a/prolog/common.py +++ b/prolog/common.py @@ -50,8 +50,8 @@ def hint(code, aux_code): # a,b,c are a bit dangerous when crossing the river exercise is being solved # what about potential numbers after letters? - # this will have to be solved more generally - targets = {'a', 'b', 'c', 'x', 'y', 'z', 'h', 't', 'l', 's', 'v', 'w'} + # TODO this will have to be solved more generally + targets = {'a', 'c', 'x', 'y', 'z', 'h', 'l', 's', 'v', 'w'} marks = [(t.pos, t.pos + len(t.val)) for t in tokens if t.type == 'NAME' and t.val in targets] if marks: hints += [{'id': 'noncapitalised_variable_markup', 'start': m[0], 'end': m[1]} for m in marks] + \ |