diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dexbnf/shorty.c | 6 | ||||
| -rw-r--r-- | plugins/dexbnf/type.c | 8 | 
2 files changed, 7 insertions, 7 deletions
| diff --git a/plugins/dexbnf/shorty.c b/plugins/dexbnf/shorty.c index b8bb158..434aa3b 100644 --- a/plugins/dexbnf/shorty.c +++ b/plugins/dexbnf/shorty.c @@ -78,9 +78,9 @@ GBinRoutine *dsd_shorty_descriptor(input_buffer *buffer)      /* Arguments */ -    for (ahead = text_input_buffer_next_char(buffer); +    for (ahead = get_input_buffer_next_char(buffer);           ahead != '\0'; -         ahead = text_input_buffer_next_char(buffer)) +         ahead = get_input_buffer_next_char(buffer))      {          type = dsd_shorty_field_type(buffer, ahead); @@ -132,7 +132,7 @@ static GDataType *dsd_shorty_return_type(input_buffer *buffer)       *       */ -    ahead = text_input_buffer_next_char(buffer); +    ahead = get_input_buffer_next_char(buffer);      if (ahead == 'V')          result = g_basic_type_new(BTP_VOID); diff --git a/plugins/dexbnf/type.c b/plugins/dexbnf/type.c index ff9af09..a6ce838 100644 --- a/plugins/dexbnf/type.c +++ b/plugins/dexbnf/type.c @@ -93,7 +93,7 @@ static GDataType *dtd_full_class_name(input_buffer *buffer)      {          save_input_buffer_pos(buffer, &saved); -        next = text_input_buffer_next_char(buffer); +        next = get_input_buffer_next_char(buffer);          if (next != '/')          { @@ -151,7 +151,7 @@ GDataType *dtd_type_descriptor(input_buffer *buffer)       *       */ -    ahead = text_input_buffer_next_char(buffer); +    ahead = get_input_buffer_next_char(buffer);      if (ahead == 'V')          result = g_basic_type_new(BTP_VOID); @@ -197,7 +197,7 @@ static GDataType *dtd_field_type_descriptor(input_buffer *buffer, char ahead)      while (ahead == '[')      {          dim++; -        ahead = text_input_buffer_next_char(buffer); +        ahead = get_input_buffer_next_char(buffer);      }      descriptor = dtd_non_array_field_type_descriptor(buffer, ahead); @@ -299,7 +299,7 @@ static GDataType *dtd_non_array_field_type_descriptor(input_buffer *buffer, char              if (result != NULL)              { -                check = text_input_buffer_next_char(buffer); +                check = get_input_buffer_next_char(buffer);                  if (check != ';')                  { | 
