About: Produces excellent listings of C language files in Postscript highlighting C keywords.
  Fossies Dox: cpost.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

cpostpar.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ctok.h"
#include "cpost.h"
Include dependency graph for cpostpar.c:

Go to the source code of this file.


static int IsKeyword (Info *info, char *str)
static void AddFunctionInfoToTokens (File *file)
static int CleanUpHashTableWalker (char **ident, Info *info)
void cParse (File *file, Info *info)
void cParseDone (File *file, Info *info)

Function Documentation

◆ AddFunctionInfoToTokens()

static void AddFunctionInfoToTokens ( File file)

◆ CleanUpHashTableWalker()

static int CleanUpHashTableWalker ( char **  ident,
Info info 

Definition at line 137 of file cpostpar.c.

References cPostError(), Info::funcTree, HashAdd(), HashFind(), Info::identHash, info, ListFind(), and Function::name.

Referenced by cParseDone().

◆ cParse()

◆ cParseDone()

void cParseDone ( File file,
Info info 

◆ IsKeyword()

static int IsKeyword ( Info info,
char *  str 

Definition at line 18 of file cpostpar.c.

References HashFind(), info, and Info::reservedHash.

Referenced by cParse().