Opened 14 years ago
Last modified 14 years ago
#1357 closed task (fixed)
Implement header generation for uniontypes
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Bootstrapping |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, |
Description
{{{loadFile("");
generateUniontypeHeaders("myFile.h");
getErrorString();
readFile("myFile.h");}}}
Should generate an h-file with RML-compatible headers:
// RML #define Absyn__ALG_5fNORETCALL(X1,X2) (mk_box2(5,(X1),(X2))) // OMC extern struct record_description Absyn_Algorithm_ALG__NORETCALL__desc; #define Absyn__ALG_5fNORETCALL(X1,X2) (mmc_mkbox3(5,Absyn_Algorithm_ALG__NORETCALL__desc,X1,X2)) #define Absyn_Algorithm_ALG__NORETCALL(X1,X2) (mmc_mkbox3(5,Absyn_Algorithm_ALG__NORETCALL__desc,X1,X2))
Note:
See TracTickets
for help on using tickets.
Added in r7145 as API call generateHeader(<String>)