URL
https://opencores.org/ocsvn/eco32/eco32/trunk
[/] [eco32/] [trunk/] [lcc/] [cpp/] [tokens.c] - Diff between revs 4 and 252
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 252 |
Line 265... |
Line 265... |
tp = trp->tp;
|
tp = trp->tp;
|
flushout();
|
flushout();
|
if (str)
|
if (str)
|
fprintf(stderr, "%s ", str);
|
fprintf(stderr, "%s ", str);
|
if (tp<trp->bp || tp>trp->lp)
|
if (tp<trp->bp || tp>trp->lp)
|
fprintf(stderr, "(tp offset %d) ", tp-trp->bp);
|
fprintf(stderr, "(tp offset %ld) ", tp-trp->bp);
|
for (tp=trp->bp; tp<trp->lp && tp<trp->bp+32; tp++) {
|
for (tp=trp->bp; tp<trp->lp && tp<trp->bp+32; tp++) {
|
if (tp->type!=NL) {
|
if (tp->type!=NL) {
|
int c = tp->t[tp->len];
|
int c = tp->t[tp->len];
|
tp->t[tp->len] = 0;
|
tp->t[tp->len] = 0;
|
fprintf(stderr, "%s", tp->t);
|
fprintf(stderr, "%s", tp->t);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.