diff --git a/parser/face.go b/parser/face.go index d0e1b64..3a53381 100644 --- a/parser/face.go +++ b/parser/face.go @@ -60,6 +60,7 @@ func (parser *ParsingOperation) parseFaceSection () ( infoerr.ErrorKindError) return } + section.behaviors[behavior.name] = behavior if err != nil { return } } @@ -121,8 +122,8 @@ func (parser *ParsingOperation) parseFaceBehavior () ( behavior.inputs, declaration) } else { - behavior.inputs = append ( - behavior.inputs, + behavior.outputs = append ( + behavior.outputs, declaration) } }