concretizer: add another definition pragma.

- single_value_variant may not be defined by the generated program.  Mark
  it to avoid warnings.
This commit is contained in:
Todd Gamblin 2019-10-06 15:28:35 -07:00
parent a81258663c
commit 6e31430bec

View file

@ -39,6 +39,7 @@ variant_set(P, V) :- variant_set(P, V, _).
% spec or some package sets it, and without this, clingo will give
% warnings like 'info: atom does not occur in any rule head'.
#defined variant_set/3.
#defined variant_single_value/2.
% variant_set is an explicitly set variant value. If it's not 'set',
% we revert to the default value. If it is set, we force the set value