Bug 39349

Summary: Change the API of nextToken to distinguish between emitting a token and just running out of input
Product: WebKit Reporter: Adam Barth <abarth>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 39259    
Attachments:
Description Flags
Patch hyatt: review+

Adam Barth
Reported 2010-05-19 00:19:24 PDT
Change the API of nextToken to distinguish between emitting a token and just running out of input
Attachments
Patch (7.52 KB, patch)
2010-05-19 00:20 PDT, Adam Barth
hyatt: review+
Adam Barth
Comment 1 2010-05-19 00:20:53 PDT
Dave Hyatt
Comment 2 2010-05-19 00:22:43 PDT
Comment on attachment 56469 [details] Patch r=me
Eric Seidel (no email)
Comment 3 2010-05-19 00:24:01 PDT
Comment on attachment 56469 [details] Patch Looks fine. Maybe we should call "clear" "reset()".
Adam Barth
Comment 4 2010-05-19 00:26:36 PDT
Note You need to log in before you can comment on or make changes to this bug.