Back to wiki

RCS History

/ TOP / internals / node_structure.mdwn

Differences for revision 1.5 from 1.4


--- internals/node_structure.mdwn	2010/02/28 07:50:29	1.4
+++ internals/node_structure.mdwn	2014/12/27 20:40:47	1.5
@@ -1,6 +1,6 @@
 The main data structure used through the whole compiler is the NODE. The parse trees are built out of NODEs and it is the underlying data structure when generating code.
 
-The NODE structure contains lots of fields in unions to kefep the size down of the struct. Different NODE types uses different elements in the structure. The NODE struct is declared like this:
+The NODE structure contains lots of fields in unions to keep the size down of the struct. Different NODE types uses different elements in the structure. The NODE struct is declared like this:
 
     typedef struct node {
         int     n_op;
@@ -16,7 +16,7 @@
         union {
                 int     _label;
                 int     _stalign;
-                struct  suedef *_sue;
+		struct attr *_ap;
         } n_6;
         union {
                 struct {
@@ -43,7 +43,7 @@
     
     #define n_label n_6._label
     #define n_stalign n_6._stalign
-    #define n_sue   n_6._sue
+    #define n_ap    n_6._ap
     
     #define n_left  n_f.n_u.n_l._left
     #define n_lval  n_f.n_u.n_l._lval

Powered by rcshistory.cgi 0.3