Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1764 → Rev 7495

/programs/other/table/parser.cpp
318,6 → 318,7
return q - max * func_floor(q / max); // äëÿ ìîäóëÿ
}
 
/*
double func_case(double_list *p)
{
if (!p || !p->next)
368,6 → 369,7
code = cur->code;
return cur->val;
}
*/
 
#define INF_ARGS -1
#define STR_ARG -2
389,7 → 391,7
} func;
 
// the list of functions
const int max_func = 29;
const int max_func = 28;
func functions[max_func] =
{
"", 1, NULL, // íå ïîìíþ, ñ êàêîé öåëüþ
418,7 → 420,7
"or",2,&logic_or,
"xor",2,&logic_xor,
"rand",1,&func_rand,
"case",INF_ARGS,&func_case,
//"case",INF_ARGS,&func_case,
"pi",0,&func_pi,
"eps",0,&func_eps
};