Skip to content

Commit 38a5dd5

Browse files
Fix typo in LLVM Kaleidoscope tutorial (Chapter 2) (#169319)
This patch fixes a minor typo in the **Kaleidoscope tutorial (Chapter 2)**. The sentence: “checks to see if **if** is too low” has been corrected to: “checks to see if **it** is too low”. This is a documentation-only change and does not affect any semantic behavior or code generation. Thank you for maintaining the tutorial, and please let me know if any further adjustments are needed.
1 parent 23907a2 commit 38a5dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ starts with:
453453
return LHS;
454454

455455
This code gets the precedence of the current token and checks to see if
456-
if is too low. Because we defined invalid tokens to have a precedence of
456+
it is too low. Because we defined invalid tokens to have a precedence of
457457
-1, this check implicitly knows that the pair-stream ends when the token
458458
stream runs out of binary operators. If this check succeeds, we know
459459
that the token is a binary operator and that it will be included in this

0 commit comments

Comments
 (0)