diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-09-21 22:45:28 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-09-21 22:45:28 +0300 |
commit | 997dbc7f520c811e4c5325b9536f72cb454560cc (patch) | |
tree | 14dcc0a02d36df67d0016145a4a34c2d4243be77 /awkgram.y | |
parent | bc5591ac396525b1cf2a2e43f4396b4b854edd9b (diff) | |
download | egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.tar.gz egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.tar.bz2 egawk-997dbc7f520c811e4c5325b9536f72cb454560cc.zip |
Make no mbs support work everywhere. Sheesh.
Diffstat (limited to 'awkgram.y')
-rw-r--r-- | awkgram.y | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1894,7 +1894,7 @@ static const struct token tokentab[] = { {"xor", Op_builtin, LEX_BUILTIN, GAWKX|A(2), do_xor}, }; -#ifdef MBS_SUPPORT +#if MBS_SUPPORT /* Variable containing the current shift state. */ static mbstate_t cur_mbstate; /* Ring buffer containing current characters. */ @@ -2653,7 +2653,7 @@ tokexpand() /* nextc --- get the next input character */ -#ifdef MBS_SUPPORT +#if MBS_SUPPORT static int nextc(void) @@ -2741,7 +2741,7 @@ nextc() static inline void pushback(void) { -#ifdef MBS_SUPPORT +#if MBS_SUPPORT if (gawk_mb_cur_max > 1) cur_ring_idx = (cur_ring_idx == 0)? RING_BUFFER_SIZE - 1 : cur_ring_idx - 1; @@ -2934,7 +2934,7 @@ retry: thisline = NULL; tok = tokstart; -#ifdef MBS_SUPPORT +#if MBS_SUPPORT if (gawk_mb_cur_max == 1 || nextc_is_1stbyte) #endif switch (c) { |