Changeset 1433ecda in mainline for uspace/app/sbi/src/stype.c
- Timestamp:
- 2018-04-04T15:42:37Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
-
uspace/app/sbi/src/stype.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/stype.c
r47b2d7e3 r1433ecda 165 165 166 166 switch (csimbr->cc) { 167 case csimbr_csi: stype_csi(stype, csimbr->u.csi); break; 168 case csimbr_ctor: stype_ctor(stype, csimbr->u.ctor); break; 169 case csimbr_deleg: stype_deleg(stype, csimbr->u.deleg); break; 170 case csimbr_enum: stype_enum(stype, csimbr->u.enum_d); break; 171 case csimbr_fun: stype_fun(stype, csimbr->u.fun); break; 172 case csimbr_var: stype_var(stype, csimbr->u.var); break; 173 case csimbr_prop: stype_prop(stype, csimbr->u.prop); break; 167 case csimbr_csi: 168 stype_csi(stype, csimbr->u.csi); 169 break; 170 case csimbr_ctor: 171 stype_ctor(stype, csimbr->u.ctor); 172 break; 173 case csimbr_deleg: 174 stype_deleg(stype, csimbr->u.deleg); 175 break; 176 case csimbr_enum: 177 stype_enum(stype, csimbr->u.enum_d); 178 break; 179 case csimbr_fun: 180 stype_fun(stype, csimbr->u.fun); 181 break; 182 case csimbr_var: 183 stype_var(stype, csimbr->u.var); 184 break; 185 case csimbr_prop: 186 stype_prop(stype, csimbr->u.prop); 187 break; 174 188 } 175 189 … … 891 905 #endif 892 906 switch (stat->sc) { 893 case st_vdecl: stype_vdecl(stype, stat->u.vdecl_s); break; 894 case st_if: stype_if(stype, stat->u.if_s); break; 895 case st_switch: stype_switch(stype, stat->u.switch_s); break; 896 case st_while: stype_while(stype, stat->u.while_s); break; 897 case st_for: stype_for(stype, stat->u.for_s); break; 898 case st_raise: stype_raise(stype, stat->u.raise_s); break; 899 case st_break: stype_break(stype, stat->u.break_s); break; 900 case st_return: stype_return(stype, stat->u.return_s); break; 901 case st_exps: stype_exps(stype, stat->u.exp_s, want_value); break; 902 case st_wef: stype_wef(stype, stat->u.wef_s); break; 907 case st_vdecl: 908 stype_vdecl(stype, stat->u.vdecl_s); 909 break; 910 case st_if: 911 stype_if(stype, stat->u.if_s); 912 break; 913 case st_switch: 914 stype_switch(stype, stat->u.switch_s); 915 break; 916 case st_while: 917 stype_while(stype, stat->u.while_s); 918 break; 919 case st_for: 920 stype_for(stype, stat->u.for_s); 921 break; 922 case st_raise: 923 stype_raise(stype, stat->u.raise_s); 924 break; 925 case st_break: 926 stype_break(stype, stat->u.break_s); 927 break; 928 case st_return: 929 stype_return(stype, stat->u.return_s); 930 break; 931 case st_exps: 932 stype_exps(stype, stat->u.exp_s, want_value); 933 break; 934 case st_wef: 935 stype_wef(stype, stat->u.wef_s); 936 break; 903 937 } 904 938 } … … 1692 1726 printf(" Error: "); 1693 1727 switch (convc) { 1694 case convc_implicit: printf("Cannot implicitly convert '"); break; 1695 case convc_as: printf("Cannot use 'as' to convert '"); break; 1728 case convc_implicit: 1729 printf("Cannot implicitly convert '"); 1730 break; 1731 case convc_as: 1732 printf("Cannot use 'as' to convert '"); 1733 break; 1696 1734 } 1697 1735 … … 1821 1859 &b_ti); 1822 1860 } else if (src_csi->base_csi != NULL && 1823 src->u.tobject->csi->cc == csi_class) {1861 src->u.tobject->csi->cc == csi_class) { 1824 1862 /* No explicit reference. Use grandfather class. */ 1825 b_ti = tdata_item_new(tic_tobject);1863 b_ti = tdata_item_new(tic_tobject); 1826 1864 b_ti->u.tobject = tdata_object_new(); 1827 1865 b_ti->u.tobject->csi = src_csi->base_csi; … … 1840 1878 /* Recurse to compute the rest of the path. */ 1841 1879 res_ti = stype_tobject_find_pred(stype, bs_ti, dest); 1842 if (b_ti->tic == tic_ignore) {1880 if (b_ti->tic == tic_ignore) { 1843 1881 /* An error occured. */ 1844 1882 return NULL; … … 2217 2255 #endif 2218 2256 return varg; 2219 }2257 } 2220 2258 2221 2259 /* Setter argument */
Note:
See TracChangeset
for help on using the changeset viewer.
