From a2cd317d6a3b45fd3b226d28e632f7dc465fe301 Mon Sep 17 00:00:00 2001 From: Samuel Gomes <47574584+a740g@users.noreply.github.com> Date: Thu, 1 Sep 2022 21:39:30 +0530 Subject: [PATCH] Change SHR & SHL to camel case per discussion in https://github.com/QB64-Phoenix-Edition/QB64pe/pull/153 --- source/qb64pe.bas | 2 +- source/subs_functions/subs_functions.bas | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/qb64pe.bas b/source/qb64pe.bas index f63cb4a16..64ab65015 100644 --- a/source/qb64pe.bas +++ b/source/qb64pe.bas @@ -16397,7 +16397,7 @@ FUNCTION evaluatefunc$ (a2$, args AS LONG, typ AS LONG) ' Establish which function (if any!) should be used IF (sourcetyp AND 511) = 8 THEN ' sourcetyp is the type of data (bits can be examined to get more details) e$ = "func__" + rotlr_n$ + "8(" + e$ - typ& = UBYTETYPE - ISPOINTER ' We force the return type here. This passed back up to the caller + typ& = UBYTETYPE - ISPOINTER ' We force the return type here. This is passed back up to the caller ELSEIF (sourcetyp AND 511) = 16 THEN e$ = "func__" + rotlr_n$ + "16(" + e$ typ& = UINTEGERTYPE - ISPOINTER diff --git a/source/subs_functions/subs_functions.bas b/source/subs_functions/subs_functions.bas index 725be160e..f9f5f3133 100644 --- a/source/subs_functions/subs_functions.bas +++ b/source/subs_functions/subs_functions.bas @@ -3668,7 +3668,7 @@ id.hr_syntax = "_AUTODISPLAY" regid clearid -id.n = qb64prefix$ + "SHR" +id.n = qb64prefix$ + "ShR" ' a740g: Changed to camel case id.subfunc = 1 id.callname = "func__shr" id.args = 2 @@ -3678,7 +3678,7 @@ id.hr_syntax = "_SHR(numericalVariable, numericalValue)" regid clearid -id.n = qb64prefix$ + "SHL" +id.n = qb64prefix$ + "ShL" ' a740g: Changed to camel case id.subfunc = 1 id.callname = "func__shl" id.args = 2