Instrument usage of offset:continue in for loops

This commit is contained in:
Peter Zhu
2020-11-12 13:39:02 -05:00
parent 9fcba1a26c
commit d844a3dd8b
2 changed files with 11 additions and 0 deletions

View File

@@ -198,6 +198,7 @@ module Liquid
case key
when 'offset'
@from = if expr == 'continue'
Usage.increment('for_offset_continue')
:continue
else
parse_expression(expr)