Skip to content

Commit b814758

Browse files
committed
feat: code opt
1 parent f775ee5 commit b814758

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/shader-lab/src/common/BaseScanner.ts

-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ export default class BaseScanner {
108108
while (BaseScanner._checkIsIn(curChar, spaceChars)) {
109109
this._advance();
110110
curChar = this.getCurChar();
111-
// Compatible with windows line break CRLF.
112-
if (includeLineBreak && curChar === "\n") {
113-
this._advance();
114-
curChar = this.getCurChar();
115-
}
116111
}
117112
}
118113

0 commit comments

Comments
 (0)