skin parser: Allow the first character after conditional seperators to be \n
commitf417312a71064550cf66bbbec41f1e18d38b74f2
authorJonathan Gordon <rockbox@jdgordon.info>
Wed, 1 Feb 2012 10:53:31 +0000 (1 21:53 +1100)
committerJonathan Gordon <rockbox@jdgordon.info>
Wed, 1 Feb 2012 11:05:06 +0000 (1 22:05 +1100)
tree422d94b09764cfa80a3500c0dbd091e4efc50968
parent5f387c28ce716cb6991c36dd9a1e77069066f0ea
skin parser: Allow the first character after conditional seperators to be \n

This hopefully makes difficult conditionals more easy to read: i.e
OLD: %?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
NEW:
%?bp<
%?bc<
%xd(Ba)|%xd(Bb)
>|
%?bl<|%xd(Bc)|%xd(Bd)|
%xd(Be)|%xd(Bf)|
%xd(Bg)|%xd(Bh)|
%xd(Bi)|%xd(Bj)
>
>

Change-Id: Ic89d2c95562b27e7427c3a5d528340f9aec55cf2
lib/skin_parser/skin_parser.c