[llvm] [Kaleidoscope] Fix typo (PR #125366)

via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 1 15:06:08 PST 2025


https://github.com/FantasqueX created https://github.com/llvm/llvm-project/pull/125366

Remove duplicate word.
<img width="1148" alt="image" src="https://github.com/user-attachments/assets/f7e9663d-bd7f-4375-bbe8-89f1bed77314" />


>From 03284233749c1cd913db3b2c5c95a6b05fe6fe88 Mon Sep 17 00:00:00 2001
From: Letu Ren <fantasquex at gmail.com>
Date: Sun, 2 Feb 2025 07:03:41 +0800
Subject: [PATCH] [Kaleidoscope] Fix typo

Remove duplicate word.
---
 llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
index c75d8814918aaa..a88b6ed48e8d45 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
@@ -299,7 +299,7 @@ or parser so we'll need to add it.
    }
 
 In this set of code we've added some functionality on how to keep track of the
-line and column of the "source file". As we lex every token we set our current
+line and column of the "source file". As we lex every token we set our
 current "lexical location" to the assorted line and column for the beginning
 of the token. We do this by overriding all of the previous calls to
 ``getchar()`` with our new ``advance()`` that keeps track of the information



More information about the llvm-commits mailing list