bool2bit_tmpl(): Fix for '?' template case

Change-Id: I6dd3c4afdf61689a23aefc277a70cf298cb24c96
This commit is contained in:
Harald Welte 2018-02-16 18:12:59 +01:00
parent 158a7ca881
commit b596c18689
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ function bool2bit_tmpl(template boolean inp) return template BIT1 {
} else if (istemplatekind(inp, "*")) {
return *;
} else if (istemplatekind(inp, "?")) {
return ?;
} else {
if (valueof(inp)) {
return '1'B;