# File kwartz.rb, line 3777
        def initialize(plcode_str, toppings={})
            @content = plcode_str
            @pos = -1
            @token = nil
            @token_str = nil
            @linenum = 1
            @toppings = toppings
            if toppings[:enable_eruby]
                unless toppings[:lang]
                    raise ScanError.new("option '--enable_eruby' requires language name.")
                end
                @content = _exec_eruby(@content, toppings[:lang])
            end
            @newline = "\n"
            if (idx = plcode_str.index(?\n)) != nil
                @newline = "\r\n" if plcode_str[idx - 1] == ?\r
            end
        end