help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

YYText related problem in flex++


From: Sandhya Bala
Subject: YYText related problem in flex++
Date: Wed, 2 Jan 2002 09:23:39 -0500

From: Sandhya Balakrishnan
Date: 12/28/2001

Hello,

I am using Flex++ to scan from a stream buffer.I have a structure with char
pointers. 
when a token is matched, i point these char pointers to YYText(), assign a
null char
to the last delimiter char. This way i avoid any strcpy or malloc.
This works almost correctly, except for the first token. When i try to
access the first token's
value this way, null char is returned.
If someone could answer this question i would be thankful

sandhya




reply via email to

[Prev in Thread] Current Thread [Next in Thread]