aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-02-07 22:47:39 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-02-07 22:47:39 +0200
commit4321116ab54f5177ae4a4d1dcd2a7dd7e1bd6419 (patch)
tree51450348cb30eb5d94750aaf71f86fe5c34c3a0b /main.c
parentd4dffed3fadd53db64a4a6a9c760820fdfa96e96 (diff)
downloadegawk-4321116ab54f5177ae4a4d1dcd2a7dd7e1bd6419.tar.gz
egawk-4321116ab54f5177ae4a4d1dcd2a7dd7e1bd6419.tar.bz2
egawk-4321116ab54f5177ae4a4d1dcd2a7dd7e1bd6419.zip
Minor bug fix, new .gmo files.
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 43a3e4a5..e148b2cb 100644
--- a/main.c
+++ b/main.c
@@ -304,6 +304,8 @@ main(int argc, char **argv)
/* init array handling. */
array_init();
+ output_fp = stdout;
+
/* we do error messages ourselves on invalid options */
opterr = FALSE;
@@ -676,7 +678,6 @@ out:
setlocale(LC_NUMERIC, "");
#endif
- output_fp = stdout;
interpret(code_block);
if (do_profiling) {