class Haml::Parser

def check_push_script_stack(keyword)

def check_push_script_stack(keyword)
  if ["if", "case", "unless"].include?(keyword)
    # @script_level_stack contents are arrays of form
    # [:keyword, stack_level, other_info]
    @script_level_stack.push([keyword.to_sym, @line.tabs])
    @script_level_stack.last << false if keyword == 'case'
    @tab_up = true
  end
end