18 # ifndef SEARCH_MEMORY_LEAKS_ENABLED
19 # error SEARCH NOT ENABLED
21 # define new DEBUG_NEW
23 static char THIS_FILE[] = __FILE__;
146 if (!strncmp (str,
""", len)) {
148 }
else if (!strncmp (str,
"&", len)) {
150 }
else if (!strncmp (str,
"<", len)) {
152 }
else if (!strncmp (str,
">", len)) {
156 for (i = 0; i < 96; i++) {
201 }
else if (next == EOF) {
205 }
while (isspace (next));
207 if (isdigit (next) || next ==
'.' || next ==
'+' || next ==
'-') {
222 if (next ==
'.' || next ==
'E') {
230 }
while (!isspace(next) && next !=
']');
255 }
else if (isalpha (next) || next ==
'_') {
262 if (count == cur_max_size - 1) {
264 tmp = (
char*) malloc(2 * cur_max_size *
sizeof (
char));
276 if (!isalnum (next) && next !=
'_') {
292 }
while (!isspace (next) && next != EOF);
303 token.
value.
str = (
char*) malloc((count+1) *
sizeof (char));
321 }
while (next !=
'\n' && next != EOF);
339 while (next !=
'"') {
341 if (count >= cur_max_size - 8) {
343 tmp = (
char*) malloc (2 * cur_max_size *
sizeof(
char));
358 while (next !=
';') {
359 if (next ==
'"' || next == EOF) {
366 ISO_buffer[ISO_count] =
next;
373 if (ISO_count == 8) {
378 ISO_buffer[ISO_count] =
';';
414 token.
value.
str = (
char*) malloc((count+1) *
sizeof (char));