Changeset 37f527b in mainline for uspace/app/sbi/src/ancr.c
- Timestamp:
- 2010-03-26T21:55:23Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4204ad9
- Parents:
- b535aeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/ancr.c
rb535aeb r37f527b 50 50 #include <stdlib.h> 51 51 #include <assert.h> 52 #include "builtin.h" 52 53 #include "list.h" 53 54 #include "mytypes.h" … … 120 121 stree_symbol_t *base_sym; 121 122 stree_csi_t *base_csi, *outer_csi; 123 stree_csi_t *gf_class; 122 124 123 125 if (node->ancr_state == ws_visited) { … … 137 139 138 140 outer_csi = csi_to_symbol(node)->outer_csi; 141 gf_class = builtin_get_gf_class(prog->builtin); 139 142 140 143 /* Process outer CSI */ … … 151 154 /* Process base CSI. */ 152 155 ancr_csi_process(prog, base_csi); 156 } else if (node != gf_class) { 157 /* Implicit inheritance from grandfather class. */ 158 base_csi = gf_class; 153 159 } else { 160 /* Grandfather class has no base class. */ 154 161 base_csi = NULL; 155 162 }
Note:
See TracChangeset
for help on using the changeset viewer.