MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / is_reserved

Function is_reserved

extern/btyacc/reader.c:605–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603}
604
605int is_reserved(char *name)
606{
607 char *s;
608
609 if (strcmp(name, ".") == 0 ||
610 strcmp(name, "$accept") == 0 ||
611 strcmp(name, "$end") == 0)
612 return (1);
613
614 if (name[0] == '$' && name[1] == '$' && isdigit(name[2])) {
615 s = name + 3;
616 while (isdigit(*s)) ++s;
617 if (*s == NUL) return (1); }
618
619 return (0);
620}
621
622bucket *get_name()
623{

Callers 1

get_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected