Skip to content

Commit 3c5c1d9

Browse files
committed
Attempt to fix link
1 parent 47810a0 commit 3c5c1d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/reference/target-language-details.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2862,7 +2862,7 @@ Reactions in C can use a number of pre-defined functions, macros, and constants
28622862

28632863
- LF_SOURCE_DIRECTORY: A C string giving the full path to the directory containing the `.lf` file of the program.
28642864
- LF_PACKAGE_DIRECTORY: A C string giving the full path to the directory that is the root of the project or package (normally, the directory above the `src` directory).
2865-
- LF_SOURCE_GEN_DIRECTORY: The directory in which generated files and any files in the [files](target-declaration#files) target directive are placed.
2865+
- LF_SOURCE_GEN_DIRECTORY: The directory in which generated files and any files in the [files](<target-declaration.mdx#files>) target directive are placed.
28662866
- LF_FILE_SEPARATOR: A C string giving the file separator for the platform containing the `.lf` file ("/" for Unix-like systems, "\\" for Windows).
28672867

28682868
These are useful when your application needs to open and read additional files. For example, the following C code can be used to open a file in a subdirectory called `dir` of the directory that contains the `.lf` file:

versioned_docs/version-0.9.0/reference/target-language-details.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ Reactions in C can use a number of pre-defined functions, macros, and constants
28552855

28562856
- LF_SOURCE_DIRECTORY: A C string giving the full path to the directory containing the `.lf` file of the program.
28572857
- LF_PACKAGE_DIRECTORY: A C string giving the full path to the directory that is the root of the project or package (normally, the directory above the `src` directory).
2858-
- LF_SOURCE_GEN_DIRECTORY: The directory in which generated files and any files in the [files](target-declaration#files) target directive are placed.
2858+
- LF_SOURCE_GEN_DIRECTORY: The directory in which generated files and any files in the [files](<target-declaration.mdx#files>) target directive are placed.
28592859
- LF_FILE_SEPARATOR: A C string giving the file separator for the platform containing the `.lf` file ("/" for Unix-like systems, "\\" for Windows).
28602860

28612861
These are useful when your application needs to open and read additional files. For example, the following C code can be used to open a file in a subdirectory called `dir` of the directory that contains the `.lf` file:

0 commit comments

Comments
 (0)