[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.9 47/47] qapi: Fix a misleading parser err

From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH for-2.9 47/47] qapi: Fix a misleading parser error message
Date: Tue, 14 Mar 2017 20:48:41 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 03/13/2017 01:18 AM, Markus Armbruster wrote:
> When choking on a token where an expression is expected, we report
> 'Expected "{", "[" or string'.  Close, but no cigar.  Fix it to
> Expected '"{", "[", string, boolean or "null"'.
> Missed in commit e53188a.

Will need adjustment again if we ever start parsing numbers to provide
default values. Maybe we'll remember that time around :)

> Signed-off-by: Markus Armbruster <address@hidden>
> ---
>  scripts/qapi.py                           | 3 ++-
>  tests/qapi-schema/trailing-comma-list.err | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]