User forums > Help
[SOLVED] Squirrel Build Script Syntax Error: expected 'IDENTIFIER'
BlueHazzard:
Done, thank you for reporting this!
jordi:
I am sorry. I don't have any squirrel build script . Maybe can help you to see the RegisterBinding funcion in scriptingbindings.cpp file. There are defined all the bindings to: codeblocks code, wxWidgets types, constants, etc
I can try to help you whether you have any doubt. I want to review how squirrel virtual machine works and how bindings are done.
To reproduce the issue I have had to change "base" by "function" as parameter in my system: Debian GNU/Linux 11 (info below):
Then, "base" was not a keyword. I'll review it
Name : Code::Blocks
Version : 20.03-r11997
SDK Version : 2.0.0
Scintilla Version: 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : http://www.codeblocks.org
wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.20.
The_GTA:
--- Quote from: jordi on January 18, 2022, 09:51:24 pm ---I am sorry. (...)
Name : Code::Blocks
Version : 20.03-r11997
(...)
--- End quote ---
Don't worry about it. The issue has been solved. You seem to be using an old version of Code::Blocks which does not have the "base" keyword in Squirrel yet.
I find it interesting that you want to investigate the Squirrel VM. To me the CB Squirrel build script system is a great means to fully configure my program building pipeline. It is a novel feature which no other IDE build system has, in that form. Other build systems rely on the terribly antiquated makefile concept which I dislike for it's unhealthy gimmicks (no spaces in paths possible, stuff has to be written in rules, etc). In stark contrast for the Squirrel case, you have got the full freedom of a scripting language which feels really nice. I give the Visual Studio .vcxproj makefile system some slack because it is XML based thus has a really stable format.
Navigation
[0] Message Index
[*] Previous page
Go to full version