Skip to content

Commit 6bfd10f

Browse files
committed
Fix internal links in Kaleidoscope tutorial
1 parent e32f8ef commit 6bfd10f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Now that we have all of our simple expression-parsing logic in place, we
314314
can define a helper function to wrap it together into one entry point.
315315
We call this class of expressions "primary" expressions, for reasons
316316
that will become more clear `later in the
317-
tutorial <LangImpl6.html#user-defined-unary-operators>`_. In order to parse an arbitrary
317+
tutorial <LangImpl06.html#user-defined-unary-operators>`_. In order to parse an arbitrary
318318
primary expression, we need to determine what sort of expression it is:
319319

320320
.. code-block:: c++

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl06.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ keywords:
113113
return tok_identifier;
114114

115115
This just adds lexer support for the unary and binary keywords, like we
116-
did in `previous chapters <LangImpl5.html#lexer-extensions-for-if-then-else>`_. One nice thing
116+
did in `previous chapters <LangImpl05.html#lexer-extensions-for-if-then-else>`_. One nice thing
117117
about our current AST, is that we represent binary operators with full
118118
generalisation by using their ASCII code as the opcode. For our extended
119119
operators, we'll use this same representation, so we don't need any new

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ the unabridged code):
399399
...
400400
401401
This code is virtually identical to the code `before we allowed mutable
402-
variables <LangImpl5.html#code-generation-for-the-for-loop>`_. The big difference is that we
402+
variables <LangImpl05.html#code-generation-for-the-for-loop>`_. The big difference is that we
403403
no longer have to construct a PHI node, and we use load/store to access
404404
the variable as needed.
405405

0 commit comments

Comments
 (0)