From: Michael Stapelberg Date: Wed, 10 Oct 2012 06:18:15 +0000 (+0200) Subject: config parser: make newlines okay before opening braces (Thanks aksr) X-Git-Tag: 4.4~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e964e7b6cdbcc19e5b7d69044583f9abc0c6c451;p=i3%2Fi3 config parser: make newlines okay before opening braces (Thanks aksr) --- diff --git a/parser-specs/config.spec b/parser-specs/config.spec index a69cfe1e..1c11bf9d 100644 --- a/parser-specs/config.spec +++ b/parser-specs/config.spec @@ -291,6 +291,8 @@ state MODENAME: -> call cfg_enter_mode($modename); MODEBRACE state MODEBRACE: + end + -> '{' -> MODE @@ -327,6 +329,8 @@ state MODE_BINDCOMMAND: ################################################################################ state BARBRACE: + end + -> '{' -> BAR @@ -399,6 +403,8 @@ state BAR_VERBOSE: -> call cfg_bar_verbose($value); BAR state BAR_COLORS_BRACE: + end + -> '{' -> BAR_COLORS