Michael Stapelberg
0e4c956c1d
i3-config-wizard: switch away from bison/flex to hand-written parser
...
This adds some code duplication which we might remove in a future
refactoring or not. Depends on whether unifying the parsers actually
makes the code better or not. I suspect it doesn’t :-).
2012-12-25 14:20:17 +01:00
Michael Stapelberg
6dfb08170c
fix bind[code|sym] --release (Thanks paolo)
...
fixes #890
2012-12-14 21:41:56 +01:00
Michael Stapelberg
3cb909fa62
config parser: recover after invalid input
...
This is done by ignoring the rest of the current line and jumping to the
nearest <error> token.
fixes #879
2012-11-20 17:10:29 +01:00
Michael Stapelberg
e964e7b6cd
config parser: make newlines okay before opening braces (Thanks aksr)
2012-10-10 08:18:33 +02:00
Michael Stapelberg
a06bf27c24
tests: fix error messages, add 'bind' as synonym to mode blocks
2012-10-09 14:11:35 +02:00
Michael Stapelberg
00ac2c4c9c
accept ctrl as synonym of control (Thanks SardemFF7)
2012-10-09 14:09:12 +02:00
Michael Stapelberg
ee36c8507e
bugfix: config-parser: bind is a synonym for bindcode
2012-10-08 13:40:44 +02:00
Michael Stapelberg
40c624e1c4
port the entire old config parser to the new one
2012-10-08 13:23:48 +02:00
Michael Stapelberg
00fca2dabd
add first bits of a (custom) config parser
2012-10-08 13:17:46 +02:00