code clean up

This commit is contained in:
Michael Go
2025-01-07 14:32:07 -04:00
parent 19adfbd863
commit eff5c5de8e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ module Liquid
end
def initialize(input)
@ss = Lexer2.string_scanner
@ss = self.class.string_scanner
@ss.string = input
end
+1 -1
View File
@@ -91,7 +91,7 @@ module Liquid
if @for_liquid_tag
@tokens = @source.split("\n")
else
@ss = Tokenizer2.string_scanner
@ss = self.class.string_scanner
@ss.string = @source
@tokens << shift_normal until @ss.eos?
end