Bug 1424548 - Part 4: Include the same header files as the current generated parser code. r=hsivonen
authorChris Peterson <cpeterson@mozilla.com>
Fri, 01 Dec 2017 00:00:18 -0800
changeset 858 cfd1e575d398e83ca7c29fbf55c446482d4793ac
parent 857 f61ddeeb235ddd10eafd386614b56d82a413cb6b
child 859 62abdd11d0446d259f5b0648b1fb8f93c935be43
push id182
push usercpeterson@mozilla.com
push dateMon, 08 Jan 2018 07:22:25 +0000
reviewershsivonen
bugs1424548
Bug 1424548 - Part 4: Include the same header files as the current generated parser code. r=hsivonen #include "jArray.h" #include "nscore.h" #include "nsDebug.h" #include "mozilla/Logging.h" #include "nsMemory.h"
translator-src/nu/validator/htmlparser/cpptranslate/CppTypes.java
--- a/translator-src/nu/validator/htmlparser/cpptranslate/CppTypes.java
+++ b/translator-src/nu/validator/htmlparser/cpptranslate/CppTypes.java
@@ -103,17 +103,17 @@ public class CppTypes {
             "nsHtml5Macros", "nsIContentHandle", "nsHtml5Portability",
             "nsHtml5ContentCreatorFunction"};
 
     private static final String[] OTHER_DECLATIONS = {};
 
     private static final String[] TREE_BUILDER_OTHER_DECLATIONS = {};
 
     private static final String[] NAMED_CHARACTERS_INCLUDES = { "jArray",
-            "nscore", "nsDebug", "prlog", "mozilla/ArrayUtils" };
+            "nscore", "nsDebug", "mozilla/Logging", "nsMemory" };
 
     private static final String[] FORWARD_DECLARATIONS = { "nsHtml5StreamParser" };
 
     private static final String[] CLASSES_THAT_NEED_SUPPLEMENT = {
             "MetaScanner", "Tokenizer", "TreeBuilder", "UTF16Buffer", };
 
     private static final String[] STATE_LOOP_POLICIES = {
             "nsHtml5ViewSourcePolicy", "nsHtml5SilentPolicy" };