Pwd built-in added
[k8jam.git] / parse.h
blob413f6628803044d2df5a915809a6ccd89341d765
1 /*
2 * Copyright 1993, 2000 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
7 /*
8 * parse.h - make and destroy parse trees as driven by the parser
10 * 10/22/02 (seiwald) - working return/break/continue statements
11 * 11/04/02 (seiwald) - const-ing for string literals
15 * parse tree node
18 typedef struct _PARSE PARSE;
20 struct _PARSE {
21 LIST *(*func)( PARSE *p, LOL *args, int *jmp );
22 PARSE *left;
23 PARSE *right;
24 PARSE *third;
25 const char *string;
26 const char *string1;
27 int num;
28 int refs;
29 } ;
31 void parse_file( const char *f );
32 void parse_save( PARSE *p );
34 PARSE * parse_make(
35 LIST *(*func)( PARSE *p, LOL *args, int *jmp ),
36 PARSE *left,
37 PARSE *right,
38 PARSE *third,
39 const char *string,
40 const char *string1,
41 int num );
43 void parse_refer( PARSE *p );
44 void parse_free( PARSE *p );