Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Bugs about script settings in compiler search path
(1/1)
Chun Jiu:
Hi, guys.
I found a bug about script settings, it is in the compiler settings, please see the picture below.
My intention is to need a hook to start the compiler to temporarily set the options that need to be changed in the project.
Then I thought of adding a script function to the compiler search path to start my hook.
But after each exit of C :: B, the next time C :: B is opened, the script becomes two incomplete lines, so it becomes an error.
Chun Jiu:
Okay !
I found the cause of the problem. You cannot add ";" after a single function in square brackets, it will truncate this script string.
Wrong writing: [[ print("."); ]]
-----------------------------^
Correct wording: [[ print(".") ]]
Navigation
[0] Message Index
Go to full version