Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment