Skip to content

Commit

Permalink
Refactor NFCall (#852)
Browse files Browse the repository at this point in the history
* Separated NFCallParameterTree from NFCall

* Split CallAttributes from NFCall. Removed strange import

* The package NFCall simplified into uniontype NFCall

* Removed unused import
  • Loading branch information
JKRT committed May 8, 2020
1 parent 5d1022e commit 918333e
Show file tree
Hide file tree
Showing 20 changed files with 186 additions and 124 deletions.
6 changes: 3 additions & 3 deletions OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo
Expand Up @@ -32,8 +32,8 @@
encapsulated package NFBuiltinCall
import Absyn;
import AbsynUtil;
import NFCall.Call;
import NFCall.CallAttributes;
import Call = NFCall;
import NFCallAttributes;
import Expression = NFExpression;
import NFInstNode.InstNode;
import NFPrefixes.Variability;
Expand Down Expand Up @@ -665,7 +665,7 @@ protected
list<TypedArg> args;
TypedArg arg;
InstNode fn_node;
CallAttributes ca;
NFCallAttributes ca;
algorithm
// edge may not be used in a function context.
if ExpOrigin.flagSet(origin, ExpOrigin.FUNCTION) then
Expand Down

0 comments on commit 918333e

Please sign in to comment.