diff options
| author | Yong He <yonghe@outlook.com> | 2024-04-24 15:51:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 15:51:43 -0700 |
| commit | fc4c242442510fb97c3cfbf04d7582ebbc3bb0ed (patch) | |
| tree | 0c19f6974dad99cbe1faa24b1aba41d0780008da /source/slang/slang-parser.cpp | |
| parent | 211b2ffc20d7798cab0b8483ccc3ec2b7ade49ab (diff) | |
Fix macos CI and clang warnings. (#4019)
* Fix macos CI.
* Fix.
* Fix.
* Fix.
* Fix clang warnings.
* Fix more warnings.
Diffstat (limited to 'source/slang/slang-parser.cpp')
| -rw-r--r-- | source/slang/slang-parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-parser.cpp b/source/slang/slang-parser.cpp index 9e0a94cae..e0b964a45 100644 --- a/source/slang/slang-parser.cpp +++ b/source/slang/slang-parser.cpp @@ -5453,7 +5453,7 @@ namespace Slang bool lookAheadTokenAfterModifiers(Parser* parser, const char* token) { TokenReader tokenPreview = parser->tokenReader; - for (Index i = 0;; i++) + for (;;) { if (tokenPreview.peekToken().getContent() == token) return true; |
