View Issue Details

IDProjectCategoryView StatusLast Update
00006471003.1(2008)/Issue 7Shell and Utilitiespublic2019-06-10 08:55
Reporterrhansen Assigned Toajosey  
PrioritynormalSeverityCommentTypeOmission
Status ClosedResolutionAccepted As Marked 
NameRichard Hansen
Organization
User Reference
Section2.3, 2.10
Page Number2299, 2325-2330
Line Number72418, 73407-73674
Interp Status---
Final Accepted TextSee 0000647:0001450
Summary0000647: End-of-input token not addressed in grammar rules
DescriptionTokenization rule #1 in XCU 2.3 mentions an end-of-input indicator token (line 72418), but the shell grammar in XCU 2.10 does not mention the end-of-input token.
Desired ActionEither remove any mention of an end-of-input indicator token from XCU 2.3 line 72418 (preferred as I don't see the point of having an end-of-input indicator token), or treat the end-of-input token like a NEWLINE token:

1. Add "end-of-input" to the definition of "control operators" in XBD section 3.113 (line 1579)
2. Add the token END_OF_INPUT to the list of grammar symbols in XCU section 2.10.2 (starts at line 73492).
3. Add END_OF_INPUT to newline_list (XCU section 2.10.2 lines 73660-73662):

        newline_list : END_OF_INPUT
                     | NEWLINE
                     | newline_list NEWLINE
                     ;
Tagstc2-2008

Activities

rhansen

2013-01-18 21:12

manager   bugnote:0001450

Last edited: 2013-03-07 17:06

Suggested wording if 'end-of-input indicator token' is to be removed from XCU section 2.3 rule #1 (lines 72417-72418):

Replace section 2.3 rule #1 (lines 72417-72418) with:

    1. If the end of input is recognized, the current token (if any) shall be delimited.

Issue History

Date Modified Username Field Change
2013-01-18 20:22 rhansen New Issue
2013-01-18 20:22 rhansen Status New => Under Review
2013-01-18 20:22 rhansen Assigned To => ajosey
2013-01-18 20:22 rhansen Name => Richard Hansen
2013-01-18 20:22 rhansen Section => 2.3, 2.10
2013-01-18 20:22 rhansen Page Number => 2299, 2325-2330
2013-01-18 20:22 rhansen Line Number => 72418, 73407-73674
2013-01-18 21:12 rhansen Note Added: 0001450
2013-01-18 21:13 rhansen Note Edited: 0001450
2013-03-07 17:06 rhansen Note Edited: 0001450
2013-03-07 17:07 nick Interp Status => ---
2013-03-07 17:07 nick Final Accepted Text => See 0000647:0001450
2013-03-07 17:07 nick Status Under Review => Resolved
2013-03-07 17:07 nick Resolution Open => Accepted As Marked
2013-03-07 17:07 nick Tag Attached: tc2-2008
2019-06-10 08:55 agadmin Status Resolved => Closed