[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/7] glr.cc: fatal if using api.token.ctor without variants
From: |
Akim Demaille |
Subject: |
Re: [PATCH 2/7] glr.cc: fatal if using api.token.ctor without variants |
Date: |
Fri, 11 Jan 2013 17:39:27 +0100 |
Le 11 janv. 2013 à 17:32, Théophile Ranquet <address@hidden> a écrit :
> Ok, I will install like this:
Fine!
> diff --git a/data/glr.cc b/data/glr.cc
> index 1688d3d..c0005bb 100644
> --- a/data/glr.cc
> +++ b/data/glr.cc
> @@ -43,6 +43,12 @@
> # user must initialize the first positions (in particular the
> # filename member).
>
> +b4_token_ctor_if([b4_variant_if([],
> + [b4_fatal_at(b4_percent_define_get_loc(api.token.constructor),
> + [cannot use '%s' without '%s'],
> + [%define api.token.constructor],
> + [%define api.value.type variant]))])])
> +
> # We require a pure interface.
> m4_define([b4_pure_flag], [1]
- [PATCH 5/7] glr.c: style changes, (continued)
[PATCH 2/7] glr.cc: fatal if using api.token.ctor without variants, Theophile Ranquet, 2013/01/11
[PATCH 7/7] c++: privatize variant blind copies, Theophile Ranquet, 2013/01/11