From 0bf31d5c8b331c714d0c0092611b211b7f599433 Mon Sep 17 00:00:00 2001 From: Andrej Mitrovic Date: Mon, 10 Feb 2014 18:09:05 +0100 Subject: [PATCH] Add missing 'possibleDefaultTokens.length' in TokenIdType docs. --- stdx/lexer.d | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stdx/lexer.d b/stdx/lexer.d index c013d2f..5d042ce 100644 --- a/stdx/lexer.d +++ b/stdx/lexer.d @@ -105,9 +105,10 @@ module stdx.lexer; /** * Template for determining the type used for a token type. Selects the smallest * unsigned integral type that is able to hold the value - * staticTokens.length + dynamicTokens.length. For example if there are 20 - * static tokens, 30 dynamic tokens, and 10 possible default tokens, this - * template will alias itself to ubyte, as 20 + 30 + 10 < $(D_KEYWORD ubyte).max. + * staticTokens.length + dynamicTokens.length + possibleDefaultTokens.length. + * For example if there are 20 static tokens, 30 dynamic tokens, + * and 10 possible default tokens, this template will alias itself to ubyte, + * as 20 + 30 + 10 < $(D_KEYWORD ubyte).max. * Examples: * --- * // In our calculator example this means that IdType is an alias for ubyte.