MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / isoperator

Function isoperator

src/debug.cpp:530–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530static bool isoperator(TCHAR **cp)
531{
532 TCHAR c = _totupper(**cp);
533 TCHAR c1 = c ? _totupper((*cp)[1]) : 0;
534 TCHAR c2 = c1 ? _totupper((*cp)[2]) : 0;
535 return c == '+' || c == '-' || c == '/' || c == '*' || c == '(' || c == ')' ||
536 c == '|' || c == '&' || c == '^' || c == '~' || c == '=' || c == '>' || c == '<' ||
537 (c == 'R' && (c1 == 'L' || c1 == 'W' || c1 == 'B') && c2 == '(');
538}
539
540static void ignore_ws (TCHAR **c)
541{

Callers 1

checkvaltypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected