diff --git a/cint/cling/lib/MetaProcessor/MetaProcessor.cpp b/cint/cling/lib/MetaProcessor/MetaProcessor.cpp
index 13b689fab536ca4d7362d3d106dcb5551789e295..e3afe2dcf16ec4a685bb55cde6fefd4ff69b116d 100644
--- a/cint/cling/lib/MetaProcessor/MetaProcessor.cpp
+++ b/cint/cling/lib/MetaProcessor/MetaProcessor.cpp
@@ -238,6 +238,12 @@ cling::MetaProcessor::ProcessMeta(const std::string& input_line)
      return true;
    }
 
+   // Cancel the multiline input that has been requested
+   if (cmd_char == '@') {
+     m_InputValidator->Reset();
+     return true;
+   }
+
    // Enable/Disable DynamicExprTransformer
    if (cmd == "dynamicExtensions") {
      if (param.empty()) {