Exemplo n.º 1
0
Arquivo: eiffel.c Projeto: koron/ctags
static void parseExport (tokenInfo *const token)
{
	token->isExported = TRUE;
	readToken (token);
	if (isType (token, TOKEN_OPEN_BRACE))
	{
		token->isExported = FALSE;
		while (! isType (token, TOKEN_CLOSE_BRACE) &&
		       ! isType (token, TOKEN_EOF))
		{
			if (isType (token, TOKEN_IDENTIFIER))
				token->isExported |= !isIdentifierMatch (token, "NONE");
			readToken (token);
		}
		readToken (token);
	}
}
Exemplo n.º 2
0
static boolean isKeywordOrIdent (const tokenInfo * const token,
	const keywordId keyword, const vString * const name)
{
	return (boolean) (isKeyword (token, keyword) ||
		isIdentifierMatch (token, name));
}