Skip to content

Commit

Permalink
Set accessibility
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@399 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Sep 11, 1998
1 parent 4d3b86e commit a879e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modeq/builtin.rml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SCode.CLASS("Real",false,Absyn.R_PREDEFINED_REAL,
SCode.COMPONENT("unit",true,false,
SCode.ATTR([],
false,
SCode.RW,
Absyn.VAR,
Absyn.BIDIR),
Absyn.IDENT("StringType"),
Expand All @@ -67,6 +68,7 @@ SCode.CLASS("Integer",false,Absyn.R_PREDEFINED_INT,
SCode.COMPONENT("unit",true,false,
SCode.ATTR([],
false,
SCode.RW,
Absyn.VAR,
Absyn.BIDIR),
Absyn.IDENT("StringType"),
Expand Down Expand Up @@ -97,7 +99,7 @@ SCode.CLASS("Boolean",false,Absyn.R_PREDEFINED_BOOL,

(* FIXME: Shuold contain components (attributes) from the real Real type *)
val time_var =
Types.VAR("time", SCode.ATTR([] , false, Absyn.VAR, Absyn.BIDIR),
Types.VAR("time", SCode.ATTR([] , false, SCode.RO, Absyn.VAR, Absyn.BIDIR),
false, Types.T_REAL, Types.UNBOUND)

(** - Some assorted function types *)
Expand Down

0 comments on commit a879e9f

Please sign in to comment.