Anonymous | Login | 2024-03-29 08:23 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000735 | [1003.1(2013)/Issue7+TC1] Shell and Utilities | Comment | Enhancement Request | 2013-08-15 14:02 | 2019-06-10 08:55 | ||
Reporter | salikhmetov | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | Anton Salikhmetov | ||||||
Organization | EuroMake Initiative | ||||||
User Reference | |||||||
Section | XCU 2.10.2 | ||||||
Page Number | 2351 | ||||||
Line Number | 74863-74866 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0000735: 5 shift/reduce conflicts in Shell Grammar Rules | ||||||
Description |
When processed by yacc(1), Shell Grammar Rules result in 5 shift/reduce conflicts. These conflicts are all caused by unnecessary linebreak non-terminals in case_item_ns rule after compound_list non-terminals. The linebreak non-terminal are indeed unnecessary because compound_list rule compound_list : term | newline_list term | term separator | newline_list term separator ; where separator : separator_op linebreak | newline_list ; itself embeds linebreak definition linebreak : newline_list | /* empty */ ; Without the trailing linebreak non-terminals following compound_list, yacc(1) produces no shift/reduce conflicts. |
||||||
Desired Action |
On page 2351, lines 74863-74866, change case_item_ns : pattern ')' linebreak | pattern ')' compound_list linebreak | '(' pattern ')' linebreak | '(' pattern ')' compound_list linebreak ; to case_item_ns : pattern ')' linebreak | pattern ')' compound_list | '(' pattern ')' linebreak | '(' pattern ')' compound_list ; |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |