summaryrefslogtreecommitdiffstats
path: root/eshtrans/frontend/main.esh
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans/frontend/main.esh')
-rw-r--r--eshtrans/frontend/main.esh5
1 files changed, 3 insertions, 2 deletions
diff --git a/eshtrans/frontend/main.esh b/eshtrans/frontend/main.esh
index b9f93a6..fc25b5f 100644
--- a/eshtrans/frontend/main.esh
+++ b/eshtrans/frontend/main.esh
@@ -21,9 +21,10 @@
esh_parse()
{
local fn="${1}"
- shift 1
+ local buf="${2}"
+ shift 2
- if run_lexer "${fn}" complete_command; then
+ if run_lexer "${fn}" "${buf}" complete_command; then
return 0
fi
return 1