Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.56
 
1.57
 
MAIN:ragge:20110605172117
 
local.c
_>753753 }
 754754 
 755755 /*
<>756 - * Print out a string of characters.
 757 - * Assume that the assembler understands C-style escape
 758 - * sequences.
 759 - */
 760 -void
 761 -instring(struct symtab *sp)
 762 -{
 763 -        char *s, *str = sp->sname;
 764 -
 765 -        defloc(sp);
 766 -
 767 -        /* be kind to assemblers and avoid long strings */
 768 -        printf("\t.ascii \"");
 769 -        for (s = str; *s != 0; ) {
 770 -                if (*s++ == '\\') {
 771 -                        (void)esccon(&s);
 772 -                }
 773 -                if (s - str > 60) {
 774 -                        fwrite(str, 1, s - str, stdout);
 775 -                        printf("\"\n\t.ascii \"");
 776 -                        str = s;
 777 -                }
 778 -        }
 779 -        fwrite(str, 1, s - str, stdout);
 780 -        printf("\\0\"\n");
 781 -}
 782 -
 783 -/*
<_784756  * print out a constant node, may be associated with a label.
 785757  * Do not free the node after use.
 786758  * off is bit offset from the beginning of the aggregate
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-24 06:29 +0200