diff --git a/topiary/languages/nickel.scm b/topiary/languages/nickel.scm index 6e79e675..3568612f 100644 --- a/topiary/languages/nickel.scm +++ b/topiary/languages/nickel.scm @@ -6,6 +6,7 @@ (str_chunks_single) (str_chunks_multi) (builtin) + (quoted_enum_tag) ] @leaf ; Allow a blank line before the following nodes diff --git a/topiary/tests/samples/expected/nickel.ncl b/topiary/tests/samples/expected/nickel.ncl index 4be73d2f..39cf37ce 100644 --- a/topiary/tests/samples/expected/nickel.ncl +++ b/topiary/tests/samples/expected/nickel.ncl @@ -1211,6 +1211,8 @@ }, enum = { + quotedEnum = '"QuotedEnum", + Tag | doc m%" Contract to enforce the value is an enum tag. diff --git a/topiary/tests/samples/input/nickel.ncl b/topiary/tests/samples/input/nickel.ncl index d0081876..de45775e 100644 --- a/topiary/tests/samples/input/nickel.ncl +++ b/topiary/tests/samples/input/nickel.ncl @@ -1214,6 +1214,8 @@ }, enum = { + quotedEnum = '"QuotedEnum" , + Tag | doc m%" Contract to enforce the value is an enum tag.