Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Absyn"
uuid = "ce2f92e2-a952-11e9-0543-8b443f216f1d"
authors = ["johti <johti17@liu.se>"]
version = "1.3.5"
version = "1.4.0"
[deps]
ExportAll = "ad2082ca-a69e-11e9-38fa-e96309a31fe4"
MetaModelica = "9d7f2a79-07b5-5542-8b19-c0100dda6b06"
Expand Down
11 changes: 11 additions & 0 deletions src/Absyn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,13 @@ end
constrainClass #= class definition or declaration =#::Option{ConstrainClass}
info #= needed because ElementSpec does not contain this info; Element does =#::Info
end

#= Selective model extension (Modelica 3.6), `extends A(break x)` or `extends A(break
connect(a, b))`. `break x` is stored as connect(break, x), as omc does. =#
@Record INHERITANCEBREAK begin
cnct::Equation
info::Info
end
end

#= The keywords redeclare and replacable can be given in three different kombinations, each one by themself or the both combined. =#
Expand Down Expand Up @@ -890,6 +897,10 @@ end
exp::Exp
commentAfter::List{String}
end

#= `break` as a modifier's value (Modelica 3.6, `x = break`): removes the binding. =#
@Record BREAK begin
end
end

#= case in match or matchcontinue =#
Expand Down
Loading