@@ -812,8 +812,8 @@ static int _stack_calculate(char *in, int *value, int *bytes_parsed, unsigned ch
812
812
return FAILED ;
813
813
}
814
814
else {
815
- /* it must be a string ! */
816
- int is_string = YES , is_already_processed_function = NO ;
815
+ /* it must be a label ! */
816
+ int is_label = YES , is_already_processed_function = NO ;
817
817
818
818
/* we'll break if the previous item in the stack was a value or a string / label */
819
819
if (_break_before_value_or_string (q , & si [0 ]) == SUCCEEDED )
@@ -855,7 +855,7 @@ static int _stack_calculate(char *in, int *value, int *bytes_parsed, unsigned ch
855
855
if (parse_function_asc (in , & d , & parsed_chars ) == FAILED )
856
856
return FAILED ;
857
857
in += parsed_chars ;
858
- is_string = NO ;
858
+ is_label = NO ;
859
859
break ;
860
860
}
861
861
if (k == 7 && strcaselesscmpn (si [q ].string , "defined(" , 8 ) == 0 ) {
@@ -864,7 +864,7 @@ static int _stack_calculate(char *in, int *value, int *bytes_parsed, unsigned ch
864
864
if (parse_function_defined (in , & d , & parsed_chars ) == FAILED )
865
865
return FAILED ;
866
866
in += parsed_chars ;
867
- is_string = NO ;
867
+ is_label = NO ;
868
868
break ;
869
869
}
870
870
if (k == 6 && strcaselesscmpn (si [q ].string , "exists(" , 7 ) == 0 ) {
@@ -873,7 +873,7 @@ static int _stack_calculate(char *in, int *value, int *bytes_parsed, unsigned ch
873
873
if (parse_function_exists (in , & d , & parsed_chars ) == FAILED )
874
874
return FAILED ;
875
875
in += parsed_chars ;
876
- is_string = NO ;
876
+ is_label = NO ;
877
877
break ;
878
878
}
879
879
if (k == 6 && strcaselesscmpn (si [q ].string , "lobyte(" , 7 ) == 0 ) {
@@ -922,9 +922,9 @@ static int _stack_calculate(char *in, int *value, int *bytes_parsed, unsigned ch
922
922
923
923
if (is_already_processed_function == YES ) {
924
924
}
925
- else if (is_string == YES ) {
926
- process_special_labels (si [q ].string );
925
+ else if (is_label == YES ) {
927
926
si [q ].string [k ] = 0 ;
927
+ process_special_labels (si [q ].string );
928
928
si [q ].type = STACK_ITEM_TYPE_LABEL ;
929
929
got_label = YES ;
930
930
0 commit comments