diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-02-28 01:47:19 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-02-28 01:47:19 (EST) |
commit | 58fded07a19e6100e307bba9de8e72854b57f1c4 (patch) | |
tree | 5418804d8f548cf59da65900198633fbfc16518b /eshtrans/frontend/main.esh | |
parent | 9868dcf4746ff021b7de95c7eab7cc8baa3cd616 (diff) | |
parent | 5ee168e734cc0d91e171f22e1269825df7d3cdfa (diff) | |
download | eggshell-58fded07a19e6100e307bba9de8e72854b57f1c4.zip eggshell-58fded07a19e6100e307bba9de8e72854b57f1c4.tar.gz eggshell-58fded07a19e6100e307bba9de8e72854b57f1c4.tar.bz2 |
Merge branch 'feature/no-dd-lexer'
Diffstat (limited to 'eshtrans/frontend/main.esh')
-rw-r--r-- | eshtrans/frontend/main.esh | 5 |
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 |