[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about reserved word file
From: |
Hideki IWAMOTO |
Subject: |
Re: question about reserved word file |
Date: |
Wed, 13 Oct 2004 01:51:12 +0900 |
On Tue, 12 Oct 2004 23:56:24 +0900, Shigio Yamaguchi wrote...
> NOTE: The result string share the string area.
> So, following call of this function may destroy the area.
Does this mean that we have to write htags scanners like this?
^[ \t]*\#[ \t]*{WORD} {
char *p = strdup(LEXTEXT);
if (p==NULL)
die();
if (reserved_sharp(LEXTEXT, LEXLENG)) {
put_macro(p);
} else {
echos(p);
if (wflag)
unknown_preprocessing_directive(LEXTEXT, LINENO);
}
free(p);
yy_push_state(PREPROCESSOR_LINE);
}
----
Hideki IWAMOTO address@hidden
- question about reserved word file, Hideki IWAMOTO, 2004/10/09
- Re: question about reserved word file, Shigio Yamaguchi, 2004/10/09
- Re: question about reserved word file, Hideki IWAMOTO, 2004/10/09
- Re: question about reserved word file, Shigio Yamaguchi, 2004/10/10
- Re: question about reserved word file, Hideki IWAMOTO, 2004/10/11
- Re: question about reserved word file, Shigio Yamaguchi, 2004/10/11
- Re: question about reserved word file, Hideki IWAMOTO, 2004/10/11
- Re: question about reserved word file, Hideki IWAMOTO, 2004/10/12
- Re: question about reserved word file, Shigio Yamaguchi, 2004/10/12
- Re: question about reserved word file, Shigio Yamaguchi, 2004/10/12
- Re: question about reserved word file,
Hideki IWAMOTO <=
- Re: question about reserved word file, Shigio Yamaguchi, 2004/10/12