Skip to content

Commit

Permalink
fix empty chains
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed May 11, 2018
1 parent 83efa29 commit 50a2a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jelly/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def parse_code(code):
chains = links[index]
for word in regex_chain.findall(line):
chain = []
arity, start, isForward = chain_separators.get(word[0], default_chain_separation)
arity, start, isForward = chain_separators.get(word[:1], default_chain_separation)
for token in regex_token.findall(start + word):
if token in atoms:
chain.append(atoms[token])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name = 'jellylanguage',
version = '0.1.11',
version = '0.1.12',
packages = [
'jelly'
],
Expand Down

0 comments on commit 50a2a12

Please sign in to comment.