Skip to content

Commit df1faa3

Browse files
nschonnimgreter
authored andcommitted
Replace while(1) with while(true)
1 parent cc87670 commit df1faa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prelexer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace Sass {
4646
src = exactly<beg>(src);
4747
if (!src) return 0;
4848
const char* stop;
49-
while (1) {
49+
while (true) {
5050
if (!*src) return 0;
5151
stop = exactly<end>(src);
5252
if (stop && (!esc || *(src - 1) != '\\')) return stop;
@@ -139,7 +139,7 @@ namespace Sass {
139139
src = exactly<beg>(src);
140140
if (!src) return 0;
141141
const char* stop;
142-
while (1) {
142+
while (true) {
143143
if (!*src) return 0;
144144
stop = exactly<end>(src);
145145
if (stop && (!esc || *(src - 1) != '\\')) return stop;

0 commit comments

Comments
 (0)