Skip to content
Permalink
Browse files

fix issue Windows/Linux

  • Loading branch information...
sdpython committed Apr 3, 2017
1 parent 5848adf commit 7dc641474f705289df73889b25cce641565a7f74
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pyensae/languages/antlr_grammar_build.py
@@ -132,7 +132,7 @@ def compiled():
"\nCMD:\njava " +
cmd)

if os.environ["USERNAME"] in g4:
if os.environ.get("USERNAME", os.environ.get("USER", "")) in g4:
dest = os.path.dirname(g4)
for name in os.listdir(dest):
if "Parser" not in name and "Lexer" not in name and \

0 comments on commit 7dc6414

Please sign in to comment.
You can’t perform that action at this time.