Skip to content
Snippets Groups Projects
Commit 2c0f1466 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tools: ynl-gen: combine else with closing bracket


Code gen currently prints:

  }
  else if (...

This is really ugly. Fix it by delaying printing of closing
brackets in anticipation of else coming along.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 820343cc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment