path: root/src/scanner.l
diff options
authorPhil Sutter <>2018-05-28 18:51:06 +0200
committerPablo Neira Ayuso <>2018-06-01 09:16:48 +0200
commitd09eaf0fc19ca3664f535bf64c3f94e05fb7323d (patch)
treeed3b9bb5eff92008e8cfb0e892e797e39659f745 /src/scanner.l
parent77e611b63ba958e79eec56d1cd1f18b64f938314 (diff)
JSON: Simplify immediate value parsing
Since an explicit "immediate" expression doesn't exist in JSON (the values are represented as plain JSON string/integer/boolean types), there is no need for json_parse_immediate_expr() to comply to the common expression parser parameter format. Apart from that: * Drop CTX_F_RHS checks - caller assures sane context already. * Improve error message a bit for denied JSON types. Signed-off-by: Phil Sutter <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/scanner.l')
0 files changed, 0 insertions, 0 deletions