diff options
Diffstat (limited to 'ext/syck/token.c')
-rw-r--r-- | ext/syck/token.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/token.c b/ext/syck/token.c index ac9986f564..ff192f24e1 100644 --- a/ext/syck/token.c +++ b/ext/syck/token.c @@ -2297,7 +2297,7 @@ yy215: #line 938 { if ( YYTOKEN == YYLINEPTR ) { - if ( blockType == BLOCK_FOLD ) + if ( blockType == BLOCK_FOLD && qidx > 0 ) { qidx -= 1; } |