Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.30
 
1.31
 
MAIN:ragge:20071018204141
 
cpp.h
_>9090         char *str;
 9191 };
 9292 
<>93 -struct val {
  93+/*
  94+ * Struct used in parse tree evaluation.
  95+ * op is one of:
  96+ *      - number type (NUMBER, UNUMBER)
  97+ *      - zero (0) if divided by zero.
  98+ */
  99+struct nd {
  100+        int op;
94101         union {
 95102                 long long val;
 96103                 unsigned long long uval;
<>97 -        } v;
 98 -        int type;
 99 -};
 100 -
 101 -struct nd {
 102 -        union {
 103 -                struct {
 104 -                        struct nd *left;
 105 -                        struct nd *right;
 106 -                } t;
 107 -                struct val v;
108104         } n;
<>109 -        int op;
110105 };
 111106 
<>112 -#define nd_left n.t.left
 113 -#define nd_right n.t.right
 114 -#define nd_val n.v.v.val
 115 -#define nd_uval n.v.v.uval
 116 -#define nd_type n.v.type
  107+#define nd_val n.val
  108+#define nd_uval n.uval
117109 
<>118 -struct nd *mknode(int, struct nd *, struct nd *);
 119 -struct nd *mknum(struct val);
 120 -
<_121110 struct recur;   /* not used outside cpp.c */
 122111 int subst(struct symtab *, struct recur *);
 123112 struct symtab *lookup(usch *namep, int enterf);
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-11-01 14:27 +0100