lexer.number)
    </code></pre>

    <p>However, some languages allow postfix characters on integers.</p>

    <pre><code>
    local integer = P('-')^-1 * (lexer.dec_num * S('lL')^-1)
    local number = token(lexer.NUMBER, lexer.float + lexer.hex_num + integer)
    </code></pre>

    <p>Your language may need other tweaks, but it is up to you how fine-grained you
    want your highlighting to be. After all, you are not writing a compiler or
    interpreter!</p>

    <p><a id="lexer.Rules"></a></p>

    <h4>