Skip to content

Commit

Permalink
Remove trailing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
dpino committed Jul 6, 2017
1 parent 9eb95fb commit a79af52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/yang/data.lua
Expand Up @@ -799,7 +799,7 @@ function xpath_printer_from_grammar(production, print_default, root)
for _,v in ipairs(data) do
print_keyword(keyword.."[position()="..count.."]", file, '')
file:write(serialize(v))
file:write(';\n')
file:write('\n')
count = count + 1
end
end
Expand Down Expand Up @@ -856,7 +856,7 @@ function xpath_printer_from_grammar(production, print_default, root)
if print_default or str ~= production.default then
print_keyword(keyword, file, path)
file:write(str)
file:write(';\n')
file:write('\n')
end
end
end
Expand Down Expand Up @@ -897,7 +897,7 @@ function xpath_printer_from_grammar(production, print_default, root)
file:write(root.."[position()="..count.."]")
file:write(' ')
file:write(serialize(v))
file:write(';\n')
file:write('\n')
count = count + 1
end
return file:flush()
Expand All @@ -911,7 +911,7 @@ function xpath_printer_from_grammar(production, print_default, root)
file:write(root)
file:write(' ')
file:write(str)
file:write(';\n')
file:write('\n')
return file:flush()
end
end
Expand Down

0 comments on commit a79af52

Please sign in to comment.