Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

acpp.c File Reference

The ArchC pre-processor. More...

#include "acpp.h"
#include <stdio.h>

Include dependency graph for acpp.c:

Include dependency graph

Go to the source code of this file.

Functions

int yyparse ()
void acppInit ()
int acppLoad (char *filename)
void acppUnload ()
int acppRun ()

Variables

FILE * yyin = (FILE *) 0 *yyout = (FILE *) 0
int line_num
 Input file line counter.


Detailed Description

The ArchC pre-processor.

This file contains wrapper functions to interface with the GNU bison/flex files. In the future it should scale to support an intermediate file representation.

Definition in file acpp.c.


Function Documentation

void acppInit  ) 
 

Initializes the pre-processor. Always call this before any other Acpp calls.

Definition at line 49 of file acpp.c.

int acppLoad char *  filename  ) 
 

Loads the file to be used by the AcppRun() call.

Definition at line 61 of file acpp.c.

References acppUnload().

Here is the call graph for this function:

int acppRun  ) 
 

Calls the parser using the file associated with AcppLoad().

Definition at line 81 of file acpp.c.

References line_num.

void acppUnload  ) 
 

Unloads any previous loaded file.

Definition at line 71 of file acpp.c.

Referenced by acppLoad().


Generated on Thu Jun 24 08:30:06 2004 for ArchC by doxygen 1.3.4