00001 // This file is automatically generated, do not edit. 00002 /*! \file 00003 \brief Messages for conditionals. 00004 00005 Definition of warnings and errors issued for conditional directives. 00006 00007 */ 00008 #include <lestes/lang/cplus/lex/condition_stack.m.hh> 00009 #include <lestes/common.hh> 00010 #include <lestes/msg/reporting_support.hh> 00011 00012 package(lestes); 00013 package(lang); 00014 package(cplus); 00015 package(lex); 00016 /*! 00017 00018 Issued when #elif is encountered prior to #if. 00019 00020 */ 00021 ptr < ::lestes::msg::message_stencil0< bool > > elif_without_if(::lestes::msg::message_stencil0< bool > ::create("#elif without #if", ::lestes::msg::message::FLG_ERROR)); 00022 /*! 00023 00024 Issued when #endif is encountered prior to #if. 00025 00026 */ 00027 ptr < ::lestes::msg::message_stencil0< bool > > endif_without_if(::lestes::msg::message_stencil0< bool > ::create("#endif without #if", ::lestes::msg::message::FLG_ERROR)); 00028 /*! 00029 00030 Issued when #else is encountered prior to #if. 00031 00032 */ 00033 ptr < ::lestes::msg::message_stencil0< bool > > else_without_if(::lestes::msg::message_stencil0< bool > ::create("#else without #if", ::lestes::msg::message::FLG_ERROR)); 00034 /*! 00035 00036 Issued when #elif is encountered after #else. 00037 00038 */ 00039 ptr < ::lestes::msg::message_stencil0< bool > > elif_after_else(::lestes::msg::message_stencil0< bool > ::create("#elif after #else", ::lestes::msg::message::FLG_ERROR)); 00040 /*! 00041 00042 Issued when #else is encountered after #else. 00043 00044 */ 00045 ptr < ::lestes::msg::message_stencil0< bool > > else_after_else(::lestes::msg::message_stencil0< bool > ::create("#else after #else", ::lestes::msg::message::FLG_ERROR)); 00046 /*! 00047 00048 Issued for unterminated conditional directives. 00049 The zeroth parameter is the string representation of the directive name. 00050 00051 */ 00052 ptr < ::lestes::msg::message_stencil1< lstring > > unterminated_conditional(::lestes::msg::message_stencil1< lstring > ::create("unterminated %0", ::lestes::msg::message::FLG_ERROR, ::lestes::msg::formatter< lstring >::instance())); 00053 /*! 00054 00055 Issued to show the actual start of the conditional. 00056 00057 */ 00058 ptr < ::lestes::msg::message_stencil0< bool > > conditional_starts_here(::lestes::msg::message_stencil0< bool > ::create("the conditional starts here", ::lestes::msg::message::FLG_ERROR)); 00059 end_package(lex); 00060 end_package(cplus); 00061 end_package(lang); 00062 end_package(lestes);
1.5.1-20070107