[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Literals and Tokens
From: |
Hans Aberg |
Subject: |
Re: Literals and Tokens |
Date: |
Thu, 26 Jun 2003 10:42:37 +0200 |
At 16:33 -0400 2003/06/25, Jeganatan, Srividhya wrote:
>Is there a difference between using a single character literal in a rule and
>a token representing the literal?
A character token gets its character number as its external token number.
Other tokens get external token numbers starting at 258. In reality,
though, Bison translates these number to internal ones, using a translation
table.
Hans Aberg