pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Haxe","normal") -> return ()
      ("Haxe","ModuleName") -> return ()
      ("Haxe","RawString") -> return ()
      ("Haxe","String") -> return ()
      ("Haxe","CommentLine") -> (popContext) >> pEndLine
      ("Haxe","CommentBlock") -> return ()
      _ -> return ()
    else return ()
pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Haxe","normal") -> return ()
      ("Haxe","ModuleName") -> return ()
      ("Haxe","RawString") -> return ()
      ("Haxe","String") -> return ()
      ("Haxe","CommentLine") -> (popContext) >> pEndLine
      ("Haxe","CommentBlock") -> return ()
      _ -> return ()
    else return ()
pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Haxe","normal") -> return ()
      ("Haxe","ModuleName") -> return ()
      ("Haxe","RawString") -> return ()
      ("Haxe","String") -> return ()
      ("Haxe","CommentLine") -> (popContext) >> pEndLine
      ("Haxe","CommentBlock") -> return ()
      _ -> return ()
    else return ()