Skip to content

Commit 16b3d19

Browse files
committed
Fix typos in comments and docs
1 parent e8f6885 commit 16b3d19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/heredocs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ When a heredoc identifier is encountered in the regular process of lexing, we pu
1212

1313
We also set the special `parser.next_start` field which is a pointer to the place in the source where we should start lexing the next token. This is set to the pointer of the character immediately following the next newline.
1414

15-
Note that if the `parser.heredoc_end` field is already set, then it means we have already encountered a heredoc on this line. In that case the `parser.next_start` field will be set to the `parser.heredoc_end` field. This is because we want to skip past the heredoc previous heredocs on this line and instead lex the body of this heredoc.
15+
Note that if the `parser.heredoc_end` field is already set, then it means we have already encountered a heredoc on this line. In that case the `parser.next_start` field will be set to the `parser.heredoc_end` field. This is because we want to skip past the previous heredocs on this line and instead lex the body of this heredoc.
1616

1717
## 2. Lexing the body
1818

src/prism.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pm_version(void) {
1616

1717
#ifndef PM_DEBUG_LOGGING
1818
/**
19-
* Debugging logging will provide you will additional debugging functions as
19+
* Debugging logging will provide you with additional debugging functions as
2020
* well as automatically replace some functions with their debugging
2121
* counterparts.
2222
*/

0 commit comments

Comments
 (0)