+
+
+def remove_directives(statement):
+ """Remove /*! directives */ from the first-level"""
+ new_tokens = []
+ for token in statement.tokens:
+ if isinstance(token, Comment):
+ subtokens = token.tokens
+ if subtokens:
+ comment = subtokens[0]
+ if comment.ttype is T.Comment.Multiline and \
+ comment.value.startswith('/*!'):
+ continue
+ new_tokens.append(token)
+ statement.tokens = new_tokens
+
+
+def process_statement(statement):
+ requote_names(statement)
+ remove_directives(statement)