mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
Remove unroll pragma from stdlib (#14706)
This commit is contained in:
@@ -651,19 +651,16 @@ proc yamlNextToken(g: var GeneralTokenizer) =
|
||||
of 'x':
|
||||
inc(pos)
|
||||
for i in 1..2:
|
||||
{.unroll.}
|
||||
if g.buf[pos] in hexChars: inc(pos)
|
||||
break
|
||||
of 'u':
|
||||
inc(pos)
|
||||
for i in 1..4:
|
||||
{.unroll.}
|
||||
if g.buf[pos] in hexChars: inc(pos)
|
||||
break
|
||||
of 'U':
|
||||
inc(pos)
|
||||
for i in 1..8:
|
||||
{.unroll.}
|
||||
if g.buf[pos] in hexChars: inc(pos)
|
||||
break
|
||||
else: inc(pos)
|
||||
@@ -802,7 +799,6 @@ proc yamlNextToken(g: var GeneralTokenizer) =
|
||||
if pos == 0 or g.buf[pos - 1] in {'\x0A', '\x0D'}:
|
||||
inc(pos)
|
||||
for i in 1..2:
|
||||
{.unroll.}
|
||||
if g.buf[pos] != '.': break
|
||||
inc(pos)
|
||||
if pos == g.start + 3:
|
||||
|
||||
Reference in New Issue
Block a user