MCPcopy Create free account
hub / github.com/GJDuck/e9patch / unGetChar

Function unGetChar

src/e9tool/e9csv.cpp:110–123  ·  view source on GitHub ↗

* Checked ungetc */

Source from the content-addressed store, hash-verified

108 * Checked ungetc
109 */
110static void unGetChar(char c, CSV &csv)
111{
112 switch (c)
113 {
114 case EOF:
115 return;
116 case '\n':
117 csv.lineno--;
118 break;
119 default:
120 break;
121 }
122 ungetc(c, csv.stream);
123}
124
125/*
126 * Parse a CSV entry.

Callers 1

parseEntryFunction · 0.85

Calls 1

ungetcFunction · 0.85

Tested by

no test coverage detected