1.1 diff -r 1fe64161aaac -r 6575fcfbdb1b semantics.h 1.2 --- a/semantics.h Mon Dec 31 08:25:04 2001 +0000 1.3 +++ b/semantics.h Mon Dec 31 08:25:04 2001 +0000 1.4 @@ -28,7 +28,16 @@ 1.5 } input_modifier_type_t; 1.6 1.7 1.8 +typedef struct bookmark_t 1.9 +{ 1.10 + struct bookmark_t *next; 1.11 + int level; /* 1 is outermost */ 1.12 + char *name; 1.13 +} bookmark_t; 1.14 + 1.15 + 1.16 extern int line; /* line number in spec file */ 1.17 +extern int bookmark_level; 1.18 1.19 1.20 boolean parse_spec_file (char *fn); 1.21 @@ -43,6 +52,8 @@ 1.22 void input_images (range_t range); 1.23 1.24 /* semantic routines for output statements */ 1.25 +void output_push_context (void); 1.26 +void output_pop_context (void); 1.27 void output_set_file (char *name); 1.28 void output_set_bookmark (char *name); 1.29 void output_set_page_number_format (char *format);