Skip to content

Commit

Permalink
fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairhamed committed Apr 24, 2016
1 parent 66eee19 commit 8a1d2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser_functionblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func ParseFunctionBlockStatus(lines []string, m *FunctionBlockModel) {
lines = lines[1:len(lines)-1]

for _, line := range lines {
s := &Status{}
s := &FunctionBlockStatus{}

s.Description = line[strings.Index(line, "\"")+1: strings.LastIndex(line, "\"")]

Expand All @@ -80,7 +80,7 @@ func ParseFunctionBlockOperations(lines []string, m *FunctionBlockModel) {
lines = lines[1:len(lines)-1]

for _, line := range lines {
s := &Operation{}
s := &FunctionBlockOperation{}

s.Description = line[strings.Index(line, "\"")+1: strings.LastIndex(line, "\"")]

Expand Down

0 comments on commit 8a1d2e2

Please sign in to comment.