| 3349 | } |
| 3350 | |
| 3351 | int libread(FILE* f, char* buf, int max_size) |
| 3352 | { int rc; |
| 3353 | |
| 3354 | offset = ftell(f); |
| 3355 | rc = myfread( buf, 1, max_size, f ); |
| 3356 | #if YYLPDEBUG >2 |
| 3357 | printf("fread: %d of %d\n", rc, max_size); |
| 3358 | #endif |
| 3359 | yylp_buffer_start = buf; |
| 3360 | return rc; |
| 3361 | } |
| 3362 | |
| 3363 | extern "C" { |
| 3364 | int yylpwrap() |