Re: tokens
- From: mdh <mdeh@xxxxxxxxxxx>
- Date: Sun, 10 Aug 2008 17:16:15 -0700 (PDT)
On Aug 10, 5:11 pm, Harald van Dijk <true...@xxxxxxxxx> wrote:
On Sun, 10 Aug 2008 17:01:18 -0700, mdh wrote:
Is that why my example of ( ) is not a single token as the first "("
could be the start of a lot of different things?
No, your example of ( ) is not a single token because the two can be
separated.
Sorry...then I did not make myself clear. I am agreeing with you. ()
are 2 tokens, as each ( has a a meaning to the compiler.
The reason this is somewhat confusing is that on p125 of K&R2, they
define "tokens" ( and the quotation marks are theirs, not mine) as a
pair of parentheses, a pair of brackets perhaps including a number. I
assume that their definition is for the sake of the example, then.
.
- Follow-Ups:
- Re: tokens
- From: Barry Schwarz
- Re: tokens
- From: Harald van Dijk
- Re: tokens
- References:
- tokens
- From: mdh
- Re: tokens
- From: Harald van Dijk
- Re: tokens
- From: mdh
- Re: tokens
- From: Harald van Dijk
- tokens
- Prev by Date: Re: tokens
- Next by Date: Re: tokens
- Previous by thread: Re: tokens
- Next by thread: Re: tokens
- Index(es):
Relevant Pages
|