Skip to content

Commit

Permalink
Fix up 46/Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Toomey committed Nov 28, 2019
1 parent 91d235e commit 8deb165
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 46_Void_Functions/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ int fred(void);
int jane(void *ptr, int x, int y);
```

If we scan and parse the next token after 'void' and see it is the '*',
If we scan and parse the next token after 'void' and see it is the asterisk,
then we have lost the 'void' token. When we then call `declaration_list()`,
the first token it will see is '*' and it will get upset. Thus, we need
the ability to peek beyond the current token while keeping the current
the first token it will see is the asterisk and it will get upset. Thus,
we need the ability to peek beyond the current token while keeping the current
token intact.

## New Scanner Code
Expand Down

0 comments on commit 8deb165

Please sign in to comment.