qemu-e2k/qobject
Eric Blake ff5394ad5b qobject: Correct JSON lexer grammar comments
Fix the regex comments describing what we parse as JSON.  No change
to the lexer itself, just to the comments:
- The "" and '' string construction was missing alternation between
different escape sequences
- The construction for numbers forgot to handle optional leading '-'
- The construction for numbers was grouped incorrectly so that it
didn't permit '0.1'
- The construction for numbers forgot to mark the exponent as optional
- No mention that our '' string and "\'" are JSON extensions
- No mention of our %d and related extensions when constructing JSON

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465526889-8339-2-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Eric's regexp simplification squashed in]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-06-30 15:24:36 +02:00
..
Makefile.objs qobject: Simplify QObject 2015-12-17 08:21:28 +01:00
json-lexer.c qobject: Correct JSON lexer grammar comments 2016-06-30 15:24:36 +02:00
json-parser.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
json-streamer.c json-streamer: Don't leak tokens on incomplete parse 2016-06-30 15:24:36 +02:00
qbool.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qdict.c qdict: fix unbounded stack warning for qdict_array_entries 2016-05-18 15:04:26 +03:00
qfloat.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qint.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qjson.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
qlist.c coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
qnull.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qobject.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qstring.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00