The following issue has been SUBMITTED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1094 
====================================================================== 
Reported By:                Mark_Galeck
Assigned To:                
====================================================================== 
Project:                    1003.1(2016)/Issue7+TC2
Issue ID:                   1094
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Mark Galeck 
Organization:                
User Reference:              
Section:                    2.10.2 Shell Grammar Rules 
Page Number:                2380 
Line Number:                76105-76106 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2016-10-18 12:19 UTC
Last Modified:              2016-10-18 12:19 UTC
====================================================================== 
Summary:                    Rule 7a is needed to apply to ASSIGNMENT_WORD
productions
Description: 
Since the lexer section "Token Recognition" does not yield
"ASSIGNMENT_WORD" identifier, but only "TOKEN", section 2.10.1 is applied,
using commented actions in Grammar productions, to assign identifiers.
However, for the two productions involving "ASSIGNMENT_WORD", no such
action is specified. 

One can perhaps assume, that in such a case, the specified identifier is
the only one that "TOKEN" can turn to in that specific point in the Bison
LALR(1) algorithm.  That is in fact, how I understand the lack of comment
actions with some cases of "WORD" identifier (and so I don't make another
report on that topic). 

However, in this particular case, that does not work either:  one cannot
assume that at this point in the parsing process, only "ASSIGNMENT_WORD"
must result.  

So it is necessary to make a comment action " /* Apply Rule 7a */
Desired Action: 
Add comment action:

/* Apply Rule 7a */

to each of the two productions involving ASSIGNMENT_WORD.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-10-18 12:19 Mark_Galeck    New Issue                                    
2016-10-18 12:19 Mark_Galeck    Name                      => Mark Galeck     
2016-10-18 12:19 Mark_Galeck    Section                   => 2.10.2 Shell
Grammar Rules
2016-10-18 12:19 Mark_Galeck    Page Number               => 2380            
2016-10-18 12:19 Mark_Galeck    Line Number               => 76105-76106     
======================================================================


Reply via email to