Этот коммит содержится в:
Rafal Kupiec 2019-12-14 23:31:47 +01:00
родитель ad5784f81f
Коммит fd0685f16e
Подписано: belliash
Идентификатор ключа GPG: 4E829243E0CFE6B4
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -5013,9 +5013,8 @@ static ProcLangConstruct PH7_GenStateGetStatementHandler(
* Return TRUE if the given ID represent a language construct. FALSE otherwise.
*/
static int PH7_IsLangConstruct(sxu32 nKeywordID) {
if(nKeywordID == PH7_KEYWORD_EVAL || nKeywordID == PH7_KEYWORD_STATIC
|| nKeywordID == PH7_KEYWORD_NEW || nKeywordID == PH7_KEYWORD_CLONE) {
return TRUE;
if(nKeywordID == PH7_KEYWORD_EVAL || nKeywordID == PH7_KEYWORD_STATIC || nKeywordID == PH7_KEYWORD_NEW || nKeywordID == PH7_KEYWORD_CLONE) {
return TRUE;
}
/* Not a language construct */
return FALSE;