Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.29
 
1.30
 
MAIN:ragge:20110605172117
 
local.c
_>543543 {
 544544 }
 545545 
<>546 -/*
 547 - * Print out a string of characters.
 548 - * Assume that the assembler understands C-style escape
 549 - * sequences.
 550 - */
 551 -void
 552 -instring(struct symtab *sp)
 553 -{
 554 -        char *s, *str;
 555 -
 556 -        defloc(sp);
 557 -        str = sp->sname;
 558 -
 559 -        /* be kind to assemblers and avoid long strings */
 560 -        printf("\t.ascii \"");
 561 -        for (s = str; *s != 0; ) {
 562 -                if (*s++ == '\\') {
 563 -                        (void)esccon(&s);
 564 -                }
 565 -                if (s - str > 60) {
 566 -                        fwrite(str, 1, s - str, stdout);
 567 -                        printf("\"\n\t.ascii \"");
 568 -                        str = s;
 569 -                }
 570 -        }
 571 -        fwrite(str, 1, s - str, stdout);
 572 -        printf("\\0\"\n");
 573 -}
 574 -
<_575546 /* make a common declaration for id, if reasonable */
 576547 void
 577548 defzero(struct symtab *sp)
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-21 02:02 +0200