Updating those 2 lines would be the least of our problems if this value
ever changes.
On Fri, Jul 17, 2020 at 12:33 PM Jan Mercl <0xj...@gmail.com> wrote:
> On Fri, Jul 17, 2020 at 11:23 AM Heisenberg wrote:
> >
> > Constant definition in token.go:
> >
> > literalType = 0 << 30
> >
> > The only
On Fri, Jul 17, 2020 at 11:23 AM Heisenberg wrote:
>
> Constant definition in token.go:
>
> literalType = 0 << 30
>
> The only use I see is:
>
> func (t token) literal() uint32 { return uint32(t - literalType) }
> func literalToken(literal uint32) token { return token(literalType + literal)
> }
>
Constant definition in token.go:
literalType = 0 << 30
The only use I see is:
- *func (t token) literal() uint32 { return uint32(t - literalType) }*
-
*func literalToken(literal uint32) token { return token(literalType +
literal) } *
I don't know what the purpose of this writing is