Skip to content

Commit

Permalink
Add LF_STRINGIFY macro
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Nov 6, 2024
1 parent 82482d2 commit 0fd50de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/c/reactor-c
2 changes: 1 addition & 1 deletion test/C/src/FilePkgReader.lf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ reactor Source {

reaction(startup) -> out {=
char* file_path =
LF_PACKAGE_DIRECTORY
LF_STRINGIFY(LF_PACKAGE_DIRECTORY)
LF_FILE_SEPARATOR "src"
LF_FILE_SEPARATOR "lib"
LF_FILE_SEPARATOR "FileReader.txt";
Expand Down
2 changes: 1 addition & 1 deletion test/C/src/FileReader.lf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ reactor Source {

reaction(startup) -> out {=
char* file_path =
LF_SOURCE_DIRECTORY
LF_STRINGIFY(LF_SOURCE_DIRECTORY)
LF_FILE_SEPARATOR "lib"
LF_FILE_SEPARATOR "FileReader.txt";

Expand Down
2 changes: 1 addition & 1 deletion test/C/src/federated/FederatedFilePkgReader.lf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ reactor Source {

reaction(startup) -> out {=
char* file_path =
LF_PACKAGE_DIRECTORY
LF_STRINGIFY(LF_PACKAGE_DIRECTORY)
LF_FILE_SEPARATOR "src"
LF_FILE_SEPARATOR "lib"
LF_FILE_SEPARATOR "FileReader.txt";
Expand Down
2 changes: 1 addition & 1 deletion test/C/src/federated/FederatedFileReader.lf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ reactor Source {

reaction(startup) -> out {=
char* file_path =
LF_SOURCE_DIRECTORY
LF_STRINGIFY(LF_SOURCE_DIRECTORY)
LF_FILE_SEPARATOR ".."
LF_FILE_SEPARATOR "lib"
LF_FILE_SEPARATOR "FileReader.txt";
Expand Down

0 comments on commit 0fd50de

Please sign in to comment.