(JavaScriptCore) minidom uses C++ style comments
https://bugs.webkit.org/show_bug.cgi?id=19557
Use only C style comments in minidom sources
Reviewed by Sam.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/wtf/Assertions.h b/JavaScriptCore/wtf/Assertions.h
index 74ea91c..91d9d1a 100644
--- a/JavaScriptCore/wtf/Assertions.h
+++ b/JavaScriptCore/wtf/Assertions.h
@@ -1,4 +1,4 @@
-/* -*- mode: c++; c-basic-offset: 4 -*- */
+/* -*- mode: c; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
*
@@ -83,9 +83,9 @@
#define WTF_PRETTY_FUNCTION __FUNCTION__
#endif
-// WTF logging functions can process %@ in the format string to log a NSObject* but the printf format attribute
-// emits a warning when %@ is used in the format string. Until <rdar://problem/5195437> is resolved we can't include
-// the attribute when being used from Objective-C code in case it decides to use %@.
+/* WTF logging functions can process %@ in the format string to log a NSObject* but the printf format attribute
+ emits a warning when %@ is used in the format string. Until <rdar://problem/5195437> is resolved we can't include
+ the attribute when being used from Objective-C code in case it decides to use %@. */
#if COMPILER(GCC) && !defined(__OBJC__)
#define WTF_ATTRIBUTE_PRINTF(formatStringArgument, extraArguments) __attribute__((__format__(printf, formatStringArgument, extraArguments)))
#else
@@ -154,7 +154,7 @@
CRASH(); \
} \
while (0)
-#endif // COMPILER(MSVC7)
+#endif /* COMPILER(MSVC7) */
#define ASSERT_NOT_REACHED() do { \
WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, 0); \
CRASH(); \
@@ -229,4 +229,4 @@
#define LOG_VERBOSE(channel, ...) WTFLogVerbose(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, &JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)
#endif
-#endif // WTF_Assertions_h
+#endif /* WTF_Assertions_h */