# | Line 323 | Line 323 | int ln; | |
---|---|---|
323 | } | |
324 | ||
325 | ||
326 | + | getscanpos(fnp, lnp, spp, fpp) /* return current scan position */ |
327 | + | char **fnp; |
328 | + | int *lnp; |
329 | + | char **spp; |
330 | + | FILE **fpp; |
331 | + | { |
332 | + | if (fnp != NULL) *fnp = infile; |
333 | + | if (lnp != NULL) *lnp = lineno; |
334 | + | if (spp != NULL) *spp = linbuf+linepos; |
335 | + | if (fpp != NULL) *fpp = infp; |
336 | + | } |
337 | + | |
338 | + | |
339 | int | |
340 | scan() /* scan next character, return literal next */ | |
341 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |