Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YueScript as an additional scripting language #2743

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try to fix the "function TIC()..." isn't found bug, no luck so far...
  • Loading branch information
Kaleidosium committed Jan 21, 2025
commit 94f39aa2c2fe2653197aa7cf504b7f822f4a6c5d
10 changes: 5 additions & 5 deletions src/api/yue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static const tic_outline_item* getYueOutline(const char* code, s32* size)

while (true)
{
static const char FuncString[] = "->";
static const char FuncString[] = "=->";

ptr = strstr(ptr, FuncString);

Expand Down Expand Up @@ -180,10 +180,10 @@ extern "C" TIC_EXPORT const tic_script EXPORT_SCRIPT(Yue) = {
},
getYueOutline, // getOutline
evalYuescript, // eval
nullptr, // blockCommentStart
nullptr, // blockCommentEnd
"--[[", // blockCommentStart2
"]]", // blockCommentEnd2
"--[[", // blockCommentStart
"]]", // blockCommentEnd
nullptr, // blockCommentStart2
nullptr, // blockCommentEnd2
nullptr, // blockStringStart
nullptr, // blockStringEnd
nullptr, // stdStringStartEnd
Expand Down
Loading