Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.118
 
1.119
 
MAIN:ragge:20040904111225
 
pftn.c
_>18741874 NODE *
 18751875 typenode(NODE *p)
 18761876 {
<>1877 -        NODE *l;
  1877+        NODE *l, *sp = NULL;
18781878         int class = 0, adj, noun, sign;
 18791879         TWORD qual = 0;
 18801880 
     
 !
19061906                 p = l;
 19071907         }
 19081908 
<>1909 -        if (p && p->n_op == TYPE && p->n_left == NIL) {
  1909+        if (p && p->n_op == TYPE) {
  1910+                if (p->n_left == NIL) {
19101911 #ifdef CHAR_UNSIGNED
<>1911 -                if (p->n_type == CHAR)
 1912 -                        p->n_type = UCHAR;
  1912+                        if (p->n_type == CHAR)
  1913+                                p->n_type = UCHAR;
19131914 #endif
<>1914 -                p->n_lval = class;
 1915 -                p->n_qual = qual >> TSHIFT;
 1916 -                return p;
  1915+uni:                    p->n_lval = class;
  1916+                        p->n_qual = qual >> TSHIFT;
  1917+                        return p;
  1918+                } else if (p->n_type == STRTY || p->n_type == UNIONTY) {
  1919+                        /* Save node; needed for return */
  1920+                        sp = p;
  1921+                        p = p->n_left;
  1922+                }
19171923         }
 19181924 
 19191925         while (p != NIL) {
     
 !
19601966                                 goto bad;
 19611967                         adj = noun = VOID;
 19621968                         break;
<> 1969+                case STRTY:
  1970+                case UNIONTY:
  1971+                        break;
19631972                 default:
 19641973                         goto bad;
 19651974                 }
     
 !
19691978                 p = l;
 19701979         }
 19711980 
<> 1981+        if (sp) {
  1982+                p = sp;
  1983+                goto uni;
  1984+        }
  1985+
<_19721986 #ifdef CHAR_UNSIGNED
 19731987         if (noun == CHAR && sign == 0)
 19741988                 sign = UNSIGNED;
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-08-22 11:51 +0200