łň
~×YKc           @   sC   d  d k  Z  h  Z d d d d d d d  Z d   Z d   Z d S(   i˙˙˙˙Nc         C   sŐ   |  d j o
 d }  n t  |  i    }  t i |   d  j	 o! t i i d d i |    n t	 d | d | d | d | d | d	 |  t |  <x= t
 o5 |  d
  }  |  p Pn |  t j o d  t |  <q q Wd  S(   Nt    s/   The statement '%s' has already been registered.t    t   parset   lintt   executet   predictt   nextt   scryi˙˙˙˙(    (   t   tuplet   splitt   registryt   gett   Nonet   renpyt   exportst   errort   joint   dictt   True(   t   nameR   R   R   R   R   R   (    (    s8   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\statements.pyt   register   s"    
!

c         C   s"  |  i  |  i | g  f g } t i i |  } | i   t i i | i  zĂ d } x[ t	 oS | i
   } | i   } | d  j o Pn | | f } | t j o Pn | } qV W| i |  t | d  j o% t i i d d i |   d  Sn | t | d |  f SWd  t i i   Xd  S(   Ns7   '%s' is the prefix of a statement, but not a statement.R   R   (    (   t   filenamet
   linenumberR   t   parsert   Lexert   advanceR   t   push_error_handlerR   R   t
   checkpointt   wordR   R
   t   revertR   t   pop_error_handler(   t   nodet   linet   blockt   lR   t   cptR   t   newname(    (    s8   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\statements.pyR   7   s*    

c         O   sD   | \ } } t  | i |   }  |  d  j o d  Sn |  | | |  S(   N(   R
   R   R   (   t   methodt   parsedt   argst   kwargsR   (    (    s8   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\statements.pyt   call\   s
    (   R   R
   R   R   R   R)   (    (    (    s8   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\statements.pys   <module>   s   	%