aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-04-22 16:09:37 +0300
committerArnold D. Robbins <arnold@skeeve.com>2011-04-22 16:09:37 +0300
commit6cf1cd84870f4405143410585cc4e3e7f719f8f5 (patch)
tree73fc106a2279979d313d66e543d3a23db69406ac /eval.c
parent26e0f72a6bb214f1f53326c7b2325715afe43fb6 (diff)
downloadegawk-6cf1cd84870f4405143410585cc4e3e7f719f8f5.tar.gz
egawk-6cf1cd84870f4405143410585cc4e3e7f719f8f5.tar.bz2
egawk-6cf1cd84870f4405143410585cc4e3e7f719f8f5.zip
User function sorting added, documented, tested.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 3328bfba..0923a8ff 100644
--- a/eval.c
+++ b/eval.c
@@ -31,6 +31,7 @@ extern double modf(double x, double *yp);
extern double fmod(double x, double y);
NODE **fcall_list;
long fcall_count;
+int currule = 0;
IOBUF *curfile = NULL; /* current data file */
int exiting = FALSE;
@@ -1581,7 +1582,6 @@ r_interpret(INSTRUCTION *code)
AWKNUM x, x1, x2;
int di, pre = FALSE;
Regexp *rp;
- static int currule = 0;
#if defined(GAWKDEBUG) || defined(ARRAYDEBUG)
int last_was_stopme = FALSE; /* builtin stopme() called ? */
#endif