mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 06:17:48 +00:00
Declare string uppercase/lowercase functions unconditionally.
Avoid naming them str*(), because such names are reserved by ISO C.
This commit is contained in:
@@ -1079,9 +1079,9 @@ string : T_STRING
|
||||
| T_OP_STRCAT '(' string ',' string ')'
|
||||
{ strcpy($$,$3); strcat($$,$5); }
|
||||
| T_OP_STRUPR '(' string ')'
|
||||
{ strcpy($$,$3); strupr($$); }
|
||||
{ strcpy($$,$3); upperstring($$); }
|
||||
| T_OP_STRLWR '(' string ')'
|
||||
{ strcpy($$,$3); strlwr($$); }
|
||||
{ strcpy($$,$3); lowerstring($$); }
|
||||
;
|
||||
section:
|
||||
T_POP_SECTION string ',' sectiontype
|
||||
|
||||
Reference in New Issue
Block a user