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)
commit89b9648861480b92ed51203ca024be3d61e5c488
treee5c9480fc0d40ab42300a51bbb4887d58a2436eb
parent1b789441d64c89f7a4156797ce4f14bf5d3867de
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