code: def p_return(p):
      
      if not FUNCTION_LEVEL:  # At less one level, otherwise, this return is from a GOSUB
          p[0] = make_sentence('RETURN')
          return
  
      if FUNCTION_LEVEL[-1].kind != KIND.sub:
          syntax_error(p.lineno(1), 'Syntax Error: Functions must RETURN a value, or use EXIT FUNCTION instead.')
          p[0] = None
          return
  
      p[0] = make_sentence('RETURN', FUNCTION_LEVEL[-1])
docs: statement : RETURN