From c8ceaf00f67feeb8cf0298a325db7d755c7022ba Mon Sep 17 00:00:00 2001 From: Mark Goldsmith Date: Fri, 10 Feb 2023 15:52:13 -0500 Subject: [PATCH] [DEV-13308] list2typedef automatically sets first item as _NONE with 0 value This was done so we can use t:param template with the generated enum, but not have to provide the value in the YML test. Without a NONE enum as 0, the default value of 0 in YML test will have a domain violation. --- build-aux/list2typedef | 1 + build-aux/test/test-list2typedef | 1 + 2 files changed, 2 insertions(+) diff --git a/build-aux/list2typedef b/build-aux/list2typedef index 1d677552..d0e801d9 100755 --- a/build-aux/list2typedef +++ b/build-aux/list2typedef @@ -155,6 +155,7 @@ main() title="$typedef Type"> + EOF while read line; do diff --git a/build-aux/test/test-list2typedef b/build-aux/test/test-list2typedef index 7b665f46..01923a43 100755 --- a/build-aux/test/test-list2typedef +++ b/build-aux/test/test-list2typedef @@ -43,6 +43,7 @@ Second'\''s @ @Line title="FooType Type"> +