eliminate shift/reduce conflicts in output file attributes.

Tue, 01 Jan 2002 06:17:39 +0000

author
eric
date
Tue, 01 Jan 2002 06:17:39 +0000
changeset 31
2cec996b38bc
parent 30
35fad7ec7732
child 32
3aac131058da

eliminate shift/reduce conflicts in output file attributes.

parser.y file | annotate | diff | revisions
     1.1 --- a/parser.y	Tue Jan 01 06:11:43 2002 +0000
     1.2 +++ b/parser.y	Tue Jan 01 06:17:39 2002 +0000
     1.3 @@ -164,10 +164,13 @@
     1.4  	| SUBJECT STRING { output_set_subject ($2); }
     1.5  	| KEYWORDS STRING { output_set_keywords ($2); } ;
     1.6  
     1.7 +pdf_file_attribute_list:
     1.8 +	pdf_file_attribute
     1.9 +	| pdf_file_attribute_list pdf_file_attribute ;
    1.10 +
    1.11  pdf_file_attributes:
    1.12  	/* empty */
    1.13 -	| pdf_file_attribute
    1.14 -	| pdf_file_attributes pdf_file_attribute ;
    1.15 +	| pdf_file_attribute_list ;
    1.16  
    1.17  output_file_clause:
    1.18  	FILE_KEYWORD STRING { output_set_file ($2); }