2007-05-31 George Staikos <staikos@kde.org>
authorstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 May 2007 19:44:19 +0000 (19:44 +0000)
committerstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 May 2007 19:44:19 +0000 (19:44 +0000)
        Reviewed by Nikolas.

        Compile again - Qt build.

        * WebCore.pro: header guard added to CSSGrammar.h

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21916 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/WebCore.pro

index 8b7daa2a5eb2b529eb769848926a95d6762f1f83..729b878ce74c312caf118ee1c4e4362d38f54526 100644 (file)
@@ -1,3 +1,11 @@
+2007-05-31  George Staikos  <staikos@kde.org>
+
+        Reviewed by Nikolas.
+
+        Compile again - Qt build.
+
+        * WebCore.pro: header guard added to CSSGrammar.h
+
 2007-05-30  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Oliver.
index 3e3e911b3a050806fce893e4b3cde12b0926013d..88814d3b5bc24eef3ab7e807f1b3a18e589265cc 100644 (file)
@@ -1289,8 +1289,10 @@ tokenizer.CONFIG += target_predeps no_link
 QMAKE_EXTRA_COMPILERS += tokenizer
 
 # GENERATOR 4: CSS grammar
+CSS_GRAMMAR_GUARD_A = "\\\43ifndef CSSGRAMMAR_H\\\n\\\43define CSSGRAMMAR_H"
+CSS_GRAMMAR_GUARD_B = "\\\43endif"
 cssbison.output = tmp/${QMAKE_FILE_BASE}.cpp
-cssbison.commands = bison -d -p cssyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && mv ${QMAKE_FILE_BASE}.tab.c tmp/${QMAKE_FILE_BASE}.cpp && mv ${QMAKE_FILE_BASE}.tab.h tmp/${QMAKE_FILE_BASE}.h
+cssbison.commands = bison -d -p cssyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && mv ${QMAKE_FILE_BASE}.tab.c tmp/${QMAKE_FILE_BASE}.cpp && touch tmp/${QMAKE_FILE_BASE}.h && echo -e $$CSS_GRAMMAR_GUARD_A > tmp/${QMAKE_FILE_BASE}.h && cat ${QMAKE_FILE_BASE}.tab.h >> tmp/${QMAKE_FILE_BASE}.h && echo -e $$CSS_GRAMMAR_GUARD_B >> tmp/${QMAKE_FILE_BASE}.h && rm ${QMAKE_FILE_BASE}.tab.h
 cssbison.depend = ${QMAKE_FILE_NAME}
 cssbison.input = CSSBISON
 cssbison.CONFIG = target_predeps