summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 0f0db252fc..b6917d5975 100644
--- a/parse.y
+++ b/parse.y
@@ -1849,6 +1849,8 @@ none : /* none */
#include "regex.h"
#include "util.h"
+#define enc ruby_default_encoding
+
/* We remove any previous definition of `SIGN_EXTEND_CHAR',
since ours (we hope) works properly with all combinations of
machines, compilers, `char' and `unsigned char' argument types.
@@ -2045,7 +2047,7 @@ rb_compile_file(f, file, start)
return yycompile(strdup(f), start);
}
-static INLINE int
+static inline int
nextc()
{
int c;