MCPcopy Create free account
hub / github.com/TASEmulators/fceux / ConnectOperators

Function ConnectOperators

src/conddebug.cpp:497–506  ·  view source on GitHub ↗

Check for || or && operators */

Source from the content-addressed store, hash-verified

495
496/* Check for || or && operators */
497static int ConnectOperators(const char** str)
498{
499 int val = TwoCharOperator(str, '|', '|', OP_OR);
500 if(val) return val;
501
502 val = TwoCharOperator(str, '&', '&', OP_AND);
503 if(val) return val;
504
505 return OP_NO;
506}
507
508/* Handle || and && operators */
509static Condition* Connect(const char** str)

Callers

nothing calls this directly

Calls 1

TwoCharOperatorFunction · 0.85

Tested by

no test coverage detected