1.1 --- a/parser.y Sat Dec 29 17:45:43 2001 +0000 1.2 +++ b/parser.y Sat Dec 29 18:59:47 2001 +0000 1.3 @@ -73,8 +73,8 @@ 1.4 | image_ranges ',' range ; 1.5 1.6 1.7 -file_clause: 1.8 - FILE_KEYWORD STRING ';' ; 1.9 +input_file_clause: 1.10 + FILE_KEYWORD STRING ';' { open_tiff_input_file ($2) } ; 1.11 1.12 image_clause: 1.13 IMAGE INTEGER ';' 1.14 @@ -135,7 +135,7 @@ 1.15 | part_clauses part_clause; 1.16 1.17 input_clause: 1.18 - file_clause 1.19 + input_file_clause 1.20 | image_clause 1.21 | images_clause 1.22 | modifier_clause 1.23 @@ -151,6 +151,9 @@ 1.24 input_statement: 1.25 INPUT input_clauses ; 1.26 1.27 +output_file_clause: 1.28 + FILE_KEYWORD STRING ';' { open_pdf_output_file ($2) } ; 1.29 + 1.30 page_ranges: 1.31 range 1.32 | page_ranges ',' range ; 1.33 @@ -168,7 +171,9 @@ 1.34 | BOOKMARK STRING ';' ; 1.35 1.36 output_clause: 1.37 - page_clause | pages_clause | bookmark_clause 1.38 + output_file_clause 1.39 + | page_clause | pages_clause 1.40 + | bookmark_clause 1.41 | output_clause_list ; 1.42 1.43 output_clauses: