public final HiveParser.dropMacroStatement_return dropMacroStatement() throws RecognitionException {
		HiveParser.dropMacroStatement_return retval = new HiveParser.dropMacroStatement_return();
		retval.start = input.LT(1);

		CommonTree root_0 = null;

		Token KW_DROP509=null;
		Token KW_TEMPORARY510=null;
		Token KW_MACRO511=null;
		Token Identifier513=null;
		ParserRuleReturnScope ifExists512 =null;

		CommonTree KW_DROP509_tree=null;
		CommonTree KW_TEMPORARY510_tree=null;
		CommonTree KW_MACRO511_tree=null;
		CommonTree Identifier513_tree=null;
		RewriteRuleTokenStream stream_KW_DROP=new RewriteRuleTokenStream(adaptor,"token KW_DROP");
		RewriteRuleTokenStream stream_KW_TEMPORARY=new RewriteRuleTokenStream(adaptor,"token KW_TEMPORARY");
		RewriteRuleTokenStream stream_Identifier=new RewriteRuleTokenStream(adaptor,"token Identifier");
		RewriteRuleTokenStream stream_KW_MACRO=new RewriteRuleTokenStream(adaptor,"token KW_MACRO");
		RewriteRuleSubtreeStream stream_ifExists=new RewriteRuleSubtreeStream(adaptor,"rule ifExists");

		 msgs.push("drop macro statement"); 
		try {
			// HiveParser.g:1420:5: ( KW_DROP KW_TEMPORARY KW_MACRO ( ifExists )? Identifier -> ^( TOK_DROPMACRO Identifier ( ifExists )? ) )
			// HiveParser.g:1420:7: KW_DROP KW_TEMPORARY KW_MACRO ( ifExists )? Identifier
			{
			KW_DROP509=(Token)match(input,KW_DROP,FOLLOW_KW_DROP_in_dropMacroStatement8008);  
			stream_KW_DROP.add(KW_DROP509);

			KW_TEMPORARY510=(Token)match(input,KW_TEMPORARY,FOLLOW_KW_TEMPORARY_in_dropMacroStatement8010);  
			stream_KW_TEMPORARY.add(KW_TEMPORARY510);

			KW_MACRO511=(Token)match(input,KW_MACRO,FOLLOW_KW_MACRO_in_dropMacroStatement8012);  
			stream_KW_MACRO.add(KW_MACRO511);

			// HiveParser.g:1420:37: ( ifExists )?
			int alt143=2;
			int LA143_0 = input.LA(1);
			if ( (LA143_0==KW_IF) ) {
				alt143=1;
			}
			switch (alt143) {
				case 1 :
					// HiveParser.g:1420:37: ifExists
					{
					pushFollow(FOLLOW_ifExists_in_dropMacroStatement8014);
					ifExists512=ifExists();
					state._fsp--;

					stream_ifExists.add(ifExists512.getTree());
					}
					break;

			}

			Identifier513=(Token)match(input,Identifier,FOLLOW_Identifier_in_dropMacroStatement8017);  
			stream_Identifier.add(Identifier513);

			// AST REWRITE
			// elements: ifExists, Identifier
			// token labels: 
			// rule labels: retval
			// token list labels: 
			// rule list labels: 
			// wildcard labels: 
			retval.tree = root_0;
			RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():null);

			root_0 = (CommonTree)adaptor.nil();
			// 1421:5: -> ^( TOK_DROPMACRO Identifier ( ifExists )? )
			{
				// HiveParser.g:1421:8: ^( TOK_DROPMACRO Identifier ( ifExists )? )
				{
				CommonTree root_1 = (CommonTree)adaptor.nil();
				root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(TOK_DROPMACRO, "TOK_DROPMACRO"), root_1);
				adaptor.addChild(root_1, stream_Identifier.nextNode());
				// HiveParser.g:1421:35: ( ifExists )?
				if ( stream_ifExists.hasNext() ) {
					adaptor.addChild(root_1, stream_ifExists.nextTree());
				}
				stream_ifExists.reset();

				adaptor.addChild(root_0, root_1);
				}

			}


			retval.tree = root_0;

			}

			retval.stop = input.LT(-1);

			retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
			adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);

			 msgs.pop(); 
		}

		catch (RecognitionException e) {
		 reportError(e);
		  throw e;
		}

		finally {
			// do for sure before leaving
		}
		return retval;
	}