Skip to content

Commit

Permalink
fix: expand token
Browse files Browse the repository at this point in the history
  • Loading branch information
Sway007 committed Jul 16, 2024
1 parent e3c7aa5 commit 36b77e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/shader-lab/src/preprocessor/PpScanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ export default class PpScanner extends BaseScanner {
return { token, nextDirective: directive };
}

// #if !_EDITOR
scanPairedBlock(lc = "{", rc = "}") {
this.scanToChar(lc);
let lvl = 0;
Expand All @@ -199,7 +198,6 @@ export default class PpScanner extends BaseScanner {
this._advance();
} while (lvl > 0);
}
// #endif

/**
* @returns end ShaderPosition
Expand Down

0 comments on commit 36b77e0

Please sign in to comment.