diff options
-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] + \ |