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

Function get_char

src/gpre/gpre.cpp:1571–1586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1569//
1570
1571static int get_char( FILE* file)
1572{
1573 if (input_char != input_buffer)
1574 return (int) *--input_char;
1575
1576 const USHORT pc = getc(file);
1577
1578 // Dump this char to stderr, so we can see
1579 // what input line will cause this ugly
1580 // core dump.
1581 // FSG 14.Nov.2000
1582 if (sw_verbose) {
1583 fprintf(stderr, "%c", pc);
1584 }
1585 return pc;
1586}
1587
1588
1589//____________________________________________________________

Callers 2

nextcharFunction · 0.85
pass2Function · 0.85

Calls 1

getcFunction · 0.85

Tested by

no test coverage detected