Changeset 1208 for to-imperative/trunk/compiler/rfp_compile.rf
- Timestamp:
- Aug 14, 2003, 2:00:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/compiler/rfp_compile.rf
r1201 r1208 131 131 (s.link s.tag t.pragma t.name (e.in) (e.out) e.body), FUNC FUNC? : e s.tag e = 132 132 { 133 s.link : EXPORT = (DECL-FUNC EXPORTt.name);134 <Put &Declarations (DECL-FUNC LOCALt.name)> = /*empty*/;133 s.link : EXPORT = (DECL-FUNC t.name); 134 <Put &Declarations (DECL-FUNC t.name)> = /*empty*/; 135 135 } :: e.decl, 136 136 { … … 141 141 (s.link CONST t.pragma t.name e.expr) = 142 142 (CONSTEXPR s.link t.name (e.expr) e.expr) :: t.const, 143 <Put &Declarations t.const>, 143 144 { 144 s.link : EXPORT = ( t.const) /*empty*/;145 <Put &Declarations t.const> =() /*empty*/;145 s.link : EXPORT = ((DECL-OBJ t.name)) /*empty*/; 146 () /*empty*/; 146 147 }; 147 (EXPORT s.tag t.pragma t.name) = ((DECL-OBJ EXPORT s.tag t.name)) /*empty*/; 148 (EXPORT s.tag t.pragma t.name) = 149 <Put &Declarations (OBJ EXPORT s.tag t.name)>, 150 ((DECL-OBJ t.name)) /*empty*/; 148 151 (LOCAL s.tag t.pragma t.name) = 149 <Put &Declarations ( DECL-OBJ LOCAL s.tag t.name)>,152 <Put &Declarations (OBJ LOCAL s.tag t.name)>, 150 153 () /*empty*/; 151 154 } :: (e.decl) e.item = … … 165 168 Gener-Stub (t.name) = 166 169 <Lookup &Stub-Funcs t.name> : t.stub-name s.tag (e.Fin) (e.Fout), 167 <Put &Declarations (DECL-FUNC LOCALt.stub-name)>,170 <Put &Declarations (DECL-FUNC t.stub-name)>, 168 171 <Gener-Vars (e.Fin) "stub"> :: e.He, 169 172 <Comp-Func s.tag t.stub-name ((EVAR ("arg" 1))) ((EVAR))
Note: See TracChangeset
for help on using the changeset viewer.