1.1 --- a/parser.y Sun Dec 30 16:29:50 2001 +0000 1.2 +++ b/parser.y Sun Dec 30 16:29:50 2001 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 %{ 1.5 #include <stdio.h> 1.6 #include "type.h" 1.7 - #include "tiff2pdf.h" 1.8 + #include "semantics.h" 1.9 %} 1.10 1.11 %union { 1.12 @@ -74,7 +74,7 @@ 1.13 1.14 1.15 input_file_clause: 1.16 - FILE_KEYWORD STRING ';' { open_tiff_input_file ($2) } ; 1.17 + FILE_KEYWORD STRING ';' { input_set_file ($2) } ; 1.18 1.19 image_clause: 1.20 IMAGE INTEGER ';' { input_images ($2, $2); } 1.21 @@ -152,7 +152,7 @@ 1.22 INPUT input_clauses ; 1.23 1.24 output_file_clause: 1.25 - FILE_KEYWORD STRING ';' { open_pdf_output_file ($2) } ; 1.26 + FILE_KEYWORD STRING ';' { output_set_file ($2) } ; 1.27 1.28 page_ranges: 1.29 range { output_pages ($1.first, $1.last); }