Commit 6a395ed4 authored by Frontull Samuel's avatar Frontull Samuel
Browse files

added path to bnfgen

parent 93ce4626
......@@ -3,7 +3,7 @@ import yaml
import subprocess
def gen():
term = subprocess.check_output('bnfgen --separator "" grammar.bnf', shell=True, timeout=20)
term = subprocess.check_output('/home/samuel/.opam/default/bin/bnfgen --separator "" grammar.bnf', shell=True, timeout=20)
term = term.decode('utf-8').strip()
return term
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment