Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e862063

Browse files
Compare functions names case-insensitively
1 parent cdc5633 commit e862063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎projectm-eval/CompilerFunctions.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bool prjm_eval_compiler_name_is_function(prjm_eval_compiler_context_t* cctx, con
5757
prjm_eval_function_list_item_t* entry = cctx->functions.first;
5858
while (entry)
5959
{
60-
if (strcmp(entry->function->name, name) == 0)
60+
if (strcasecmp(entry->function->name, name) == 0)
6161
{
6262
return true;
6363
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /