jsonfilter: improve error reporting
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 19 Jun 2014 07:56:24 +0000 (07:56 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 19 Jun 2014 07:56:24 +0000 (07:56 +0000)
commit766643c79e1f8ff7b5ed12e128a6aa1e066dddbb
tree2317158c8ede6e312bf0b05e7d607d97a56178bb
parent9af2e4508072c546d93153efd56fe0d6ae96b5d2
jsonfilter: improve error reporting

The CLI now describes expression errors more precisely, e.g.:

  Syntax error: Invalid escape sequence
  In expression @["foo\x"]
  Near here ----------^

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41266
package/utils/jsonfilter/Makefile