fixes and optimizations

This commit is contained in:
zefie
2025-08-11 17:42:57 -04:00
parent b95f58b381
commit e4aac5933e
9 changed files with 245 additions and 246 deletions

View File

@@ -1074,7 +1074,7 @@ class WTVTellyScript {
* It handles directives like #ifdef, #ifndef, #if, #else, #endif.
*/
preprocess() {
var definitions = this.preprocessor_definitions || {};
const definitions = this.preprocessor_definitions || {};
// Split input into lines (handling CRLF and LF)
const lines = this.raw_data.split(/\r?\n/);
const output = [];