diff options
| author | Daniel Stone <daniel@fooishbar.org> | 2012-07-23 19:54:41 +0100 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-07-23 20:16:57 -0400 |
| commit | db0add6d5e23deac53c834f73d5e56180600cead (patch) | |
| tree | 11b872eaaad1c99c168ebf26e8f0e0cbc6444c20 /src/scanner.c | |
| parent | Unstatic arg_count_for_signature and get_next_argument (diff) | |
| download | wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.gz wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.bz2 wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.lz wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.xz wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.zst wayland-db0add6d5e23deac53c834f73d5e56180600cead.zip | |
Make NEW_IDs nullable
The connection-handling code already allows this, so make it legal in
the protocol definition too.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/scanner.c')
| -rw-r--r-- | src/scanner.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scanner.c b/src/scanner.c index 50e26c1..0fc26e7 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -228,6 +228,7 @@ is_nullable_type(struct arg *arg) /* Strings, objects, and arrays are possibly nullable */ case STRING: case OBJECT: + case NEW_ID: case ARRAY: return 1; default: |
