diff --git a/doc/langref.html.in b/doc/langref.html.in index e8f76e230b..32c099f547 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -137,6 +137,7 @@
  • @divTrunc
  • @embedFile
  • @enumTagName
  • +
  • @EnumTagType
  • @errorName
  • @fence
  • @fieldParentPtr
  • @@ -4256,6 +4257,11 @@ test.zig:6:2: error: found compile log statement

    Converts an enum tag name to a slice of bytes.

    +

    @EnumTagType

    +
    @EnumTagType(T: type) -> type
    +

    + Returns the integer type that is used to store the enumeration value. +

    @errorName

    @errorName(err: error) -> []u8

    @@ -5837,7 +5843,7 @@ GroupedExpression = "(" Expression ")" KeywordLiteral = "true" | "false" | "null" | "continue" | "undefined" | "error" | "this" | "unreachable" -ContainerDecl = option("extern" | "packed") ("struct" | "enum" | "union") "{" many(ContainerMember) "}" +ContainerDecl = option("extern" | "packed") ("struct" | "union" | ("enum" option(GroupedExpression))) "{" many(ContainerMember) "}"

    Zen