We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2fb34 commit 13fe793Copy full SHA for 13fe793
Resources/OSL Utils.js
@@ -2151,7 +2151,7 @@ class OSLUtils {
2151
}
2152
let line = 0;
2153
// Normalize line endings to Unix-style (\n) to handle Windows/Mac differences
2154
- CODE = this.normalizeLineEndings(String(CODE).trim());
+ CODE = this.normalizeLineEndings(String(CODE));
2155
let result = MAIN ? `/@line ${++line}\n` : "";
2156
let lastIndex = 0;
2157
@@ -4366,7 +4366,7 @@ if (typeof Scratch !== "undefined") {
4366
4367
const code = 'state.folder_sidebar = !state.folder_sidebar'
4368
4369
- const result = utils.lintSyntax({CODE: code});
+ const result = utils.generateFullAST({CODE: code});
4370
4371
fs.writeFileSync("lol.json", JSON.stringify(result, null, 2));
4372
0 commit comments