View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000735 | 1003.1(2013)/Issue7+TC1 | Shell and Utilities | public | 2013-08-15 14:02 | 2019-06-10 08:55 |
| Reporter | salikhmetov | Assigned To | |||
| Priority | normal | Severity | Comment | Type | Enhancement Request |
| Status | Closed | Resolution | Accepted | ||
| 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 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-08-15 14:02 | salikhmetov | New Issue | |
| 2013-08-15 14:02 | salikhmetov | Name | => Anton Salikhmetov |
| 2013-08-15 14:02 | salikhmetov | Organization | => EuroMake Initiative |
| 2013-08-15 14:02 | salikhmetov | Section | => XCU 2.10.2 |
| 2013-08-15 14:02 | salikhmetov | Page Number | => 2351 |
| 2013-08-15 14:02 | salikhmetov | Line Number | => 74863-74866 |
| 2013-08-22 15:46 | Don Cragun | Interp Status | => --- |
| 2013-08-22 15:46 | Don Cragun | Status | New => Resolved |
| 2013-08-22 15:46 | Don Cragun | Resolution | Open => Accepted |
| 2013-08-22 15:47 | Don Cragun | Tag Attached: tc2-2008 | |
| 2019-06-10 08:55 | agadmin | Status | Resolved => Closed |