semantics.h

Sun, 30 Dec 2001 16:29:50 +0000

author
eric
date
Sun, 30 Dec 2001 16:29:50 +0000
changeset 16
dbf5e39b1658
child 18
3de372e4b230
permissions
-rw-r--r--

Initial revision

eric@16 1 typedef enum
eric@16 2 {
eric@16 3 INPUT_CONTEXT_ALL,
eric@16 4 INPUT_CONTEXT_ODD,
eric@16 5 INPUT_CONTEXT_EVEN
eric@16 6 } input_context_type_t;
eric@16 7
eric@16 8
eric@16 9 extern int line; /* line number in spec file */
eric@16 10
eric@16 11
eric@16 12 extern int input_count; /* total input pages in spec */
eric@16 13 extern int output_count; /* total output pages in spec */
eric@16 14
eric@16 15
eric@16 16 boolean parse_spec_file (char *fn);
eric@16 17
eric@16 18
eric@16 19 /* semantic routines for input statements */
eric@16 20 void input_push_context (input_context_type_t type);
eric@16 21 void input_pop_context (void);
eric@16 22 void input_set_file (char *name);
eric@16 23 void input_images (int first, int last);
eric@16 24
eric@16 25 /* semantic routines for output statements */
eric@16 26 void output_set_file (char *name);
eric@16 27 void output_pages (int first, int last);