diff options
Diffstat (limited to 'cpp/src/FreezeScript')
-rw-r--r-- | cpp/src/FreezeScript/AssignVisitor.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Data.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/DumpDescriptors.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Error.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Exception.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Functions.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/GrammarUtil.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Parser.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Print.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/TransformAnalyzer.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/TransformVisitor.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Transformer.h | 5 | ||||
-rw-r--r-- | cpp/src/FreezeScript/Util.h | 5 |
13 files changed, 13 insertions, 52 deletions
diff --git a/cpp/src/FreezeScript/AssignVisitor.h b/cpp/src/FreezeScript/AssignVisitor.h index 388dde01b60..71f9091967c 100644 --- a/cpp/src/FreezeScript/AssignVisitor.h +++ b/cpp/src/FreezeScript/AssignVisitor.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_ASSIGN_VISITOR_H -#define FREEZE_SCRIPT_ASSIGN_VISITOR_H +#pragma once #include <FreezeScript/Data.h> @@ -50,5 +49,3 @@ private: }; } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/Data.h b/cpp/src/FreezeScript/Data.h index 6e4e24a0168..7f2524f06df 100644 --- a/cpp/src/FreezeScript/Data.h +++ b/cpp/src/FreezeScript/Data.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_DATA_H -#define FREEZE_SCRIPT_DATA_H +#pragma once #include <Ice/Ice.h> #include <Slice/Parser.h> @@ -614,5 +613,3 @@ public: }; } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/DumpDescriptors.h b/cpp/src/FreezeScript/DumpDescriptors.h index 25af7437a0f..a4d900df06c 100644 --- a/cpp/src/FreezeScript/DumpDescriptors.h +++ b/cpp/src/FreezeScript/DumpDescriptors.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_DUMP_DESCRIPTORS_H -#define FREEZE_SCRIPT_DUMP_DESCRIPTORS_H +#pragma once #include <FreezeScript/Parser.h> #include <IceXML/Parser.h> @@ -302,5 +301,3 @@ private: typedef IceUtil::Handle<DumpDBDescriptor> DumpDBDescriptorPtr; } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/Error.h b/cpp/src/FreezeScript/Error.h index 8e52a549cbd..4cbf3ff2272 100644 --- a/cpp/src/FreezeScript/Error.h +++ b/cpp/src/FreezeScript/Error.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_ERROR_H -#define FREEZE_SCRIPT_ERROR_H +#pragma once #include <Slice/Parser.h> @@ -64,5 +63,3 @@ private: }; } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/Exception.h b/cpp/src/FreezeScript/Exception.h index 8c3b6d5e87e..3d19ec8e2dc 100644 --- a/cpp/src/FreezeScript/Exception.h +++ b/cpp/src/FreezeScript/Exception.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_EXCEPTION_H -#define FREEZE_SCRIPT_EXCEPTION_H +#pragma once #include <IceUtil/Exception.h> @@ -35,5 +34,3 @@ private: }; } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/Functions.h b/cpp/src/FreezeScript/Functions.h index d3b63146ba7..c1194051e3b 100644 --- a/cpp/src/FreezeScript/Functions.h +++ b/cpp/src/FreezeScript/Functions.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_FUNCTIONS_H -#define FREEZE_SCRIPT_FUNCTIONS_H +#pragma once #include <FreezeScript/Data.h> @@ -22,5 +21,3 @@ bool invokeMemberFunction(const std::string&, const DataPtr&, const DataList&, D const ErrorReporterPtr&); } - -#endif diff --git a/cpp/src/FreezeScript/GrammarUtil.h b/cpp/src/FreezeScript/GrammarUtil.h index 2ca8fa22eda..9b42a92351a 100644 --- a/cpp/src/FreezeScript/GrammarUtil.h +++ b/cpp/src/FreezeScript/GrammarUtil.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_GRAMMAR_UTIL_H -#define FREEZE_SCRIPT_GRAMMAR_UTIL_H +#pragma once #include <FreezeScript/Parser.h> @@ -132,5 +131,3 @@ int freeze_script_parse(); // yyoverflow. // #define yyoverflow(a, b, c, d, e, f) freeze_script_error(a) - -#endif diff --git a/cpp/src/FreezeScript/Parser.h b/cpp/src/FreezeScript/Parser.h index c3297385aec..397de172fac 100644 --- a/cpp/src/FreezeScript/Parser.h +++ b/cpp/src/FreezeScript/Parser.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_PARSER_H -#define FREEZE_SCRIPT_PARSER_H +#pragma once #include <FreezeScript/Data.h> @@ -247,5 +246,3 @@ private: } // End of namespace FreezeScript std::ostream& operator<<(std::ostream&, const FreezeScript::EntityNodePtr&); - -#endif diff --git a/cpp/src/FreezeScript/Print.h b/cpp/src/FreezeScript/Print.h index 6d6d57efbd1..ce548612c77 100644 --- a/cpp/src/FreezeScript/Print.h +++ b/cpp/src/FreezeScript/Print.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_PRINT_H -#define FREEZE_SCRIPT_PRINT_H +#pragma once #include <FreezeScript/Data.h> @@ -18,5 +17,3 @@ namespace FreezeScript void printData(const DataPtr&, std::ostream&); } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/TransformAnalyzer.h b/cpp/src/FreezeScript/TransformAnalyzer.h index 2d0d5719bcc..1ebbf1a91a6 100644 --- a/cpp/src/FreezeScript/TransformAnalyzer.h +++ b/cpp/src/FreezeScript/TransformAnalyzer.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_TRANSFORM_ANALYZER_H -#define FREEZE_SCRIPT_TRANSFORM_ANALYZER_H +#pragma once #include <Slice/Parser.h> #include <IceUtil/OutputUtil.h> @@ -40,5 +39,3 @@ private: }; } - -#endif diff --git a/cpp/src/FreezeScript/TransformVisitor.h b/cpp/src/FreezeScript/TransformVisitor.h index c1365e340a1..1a53d7954ca 100644 --- a/cpp/src/FreezeScript/TransformVisitor.h +++ b/cpp/src/FreezeScript/TransformVisitor.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_TRANSFORM_VISITOR_H -#define FREEZE_SCRIPT_TRANSFORM_VISITOR_H +#pragma once #include <FreezeScript/Data.h> @@ -116,5 +115,3 @@ private: }; } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/Transformer.h b/cpp/src/FreezeScript/Transformer.h index 724688b11de..323f285c26a 100644 --- a/cpp/src/FreezeScript/Transformer.h +++ b/cpp/src/FreezeScript/Transformer.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_TRANSFORMER_H -#define FREEZE_SCRIPT_TRANSFORMER_H +#pragma once #include <Ice/Ice.h> #include <Slice/Parser.h> @@ -29,5 +28,3 @@ transformDatabase(const Ice::CommunicatorPtr&, std::ostream&, bool, std::istream&); } // End of namespace FreezeScript - -#endif diff --git a/cpp/src/FreezeScript/Util.h b/cpp/src/FreezeScript/Util.h index 4ad93167c7e..cb81adf7b8f 100644 --- a/cpp/src/FreezeScript/Util.h +++ b/cpp/src/FreezeScript/Util.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef FREEZE_SCRIPT_UTIL_H -#define FREEZE_SCRIPT_UTIL_H +#pragma once #include <Slice/Parser.h> #include <Ice/CommunicatorF.h> @@ -63,5 +62,3 @@ typedef std::map<std::string, Freeze::CatalogData> CatalogDataMap; CatalogDataMap readCatalog(const Ice::CommunicatorPtr&, const std::string&); } // End of namespace FreezeScript - -#endif |