Skip to content
Permalink
Browse files

minor fix

  • Loading branch information...
flyx committed Dec 1, 2017
1 parent f346ce9 commit a92a40a8dca63331a4669ebd69644dd71be3b698
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/implementation/yaml-inspect.adb
@@ -27,7 +27,8 @@ begin

if Cur_Event.Start_Position.Index > Cur_Pos then
Next_Pos := Cur_Pos;
while Next_Pos < Cur_Event.Start_Position.Index loop
while Next_Pos <= Input'Last and then
Next_Pos < Cur_Event.Start_Position.Index loop
if Input (Next_Pos) = '#' then
if Cur_Pos < Next_Pos then
Emit_Whitespace (Input (Cur_Pos .. Next_Pos - 1));

0 comments on commit a92a40a

Please sign in to comment.
You can’t perform that action at this time.