trex-parsers
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -92,5 +92,5 @@ #!/usr/bin/env node | ||
function grammarFilePathForLanguage(lang) { | ||
var ourPath = path.dirname(process.argv[1]); | ||
return ourPath + "/../grammar/" + lang + ".ohm"; | ||
return path.resolve(__dirname, "../grammar/" + lang + ".ohm"); | ||
} | ||
function grammarForLanguage(lang) { | ||
@@ -97,0 +97,0 @@ var grammar = KnownGrammars[lang]; |
{ | ||
"name": "trex-parsers", | ||
"description": "Parsers for Translation Exchange CLI tools.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Pavel Skaldin", |
74552
344