From 8d4c8952fcc84cfe9fa10cc7849391e2c2591782 Mon Sep 17 00:00:00 2001 From: thurston Date: Sat, 15 Nov 2008 20:56:04 +0000 Subject: [PATCH] Updated the header define wrapper since renaming. git-svn-id: http://svn.complang.org/ragel/trunk@573 052ea7fc-9027-0410-9066-f65837a77df0 --- ragel/buffer.h | 2 +- ragel/cdcodegen.h | 6 +++--- ragel/cdfflat.h | 6 +++--- ragel/cdfgoto.h | 6 +++--- ragel/cdflat.h | 6 +++--- ragel/cdftable.h | 6 +++--- ragel/cdgoto.h | 7 +++---- ragel/cdipgoto.h | 7 +++---- ragel/cdsplit.h | 7 +++---- ragel/cdtable.h | 7 +++---- ragel/common.h | 2 +- ragel/config.h.in | 2 +- ragel/cscodegen.h | 6 +++--- ragel/csfflat.h | 6 +++--- ragel/csfgoto.h | 6 +++--- ragel/csflat.h | 6 +++--- ragel/csftable.h | 6 +++--- ragel/csgoto.h | 3 +-- ragel/csipgoto.h | 2 +- ragel/cssplit.h | 2 +- ragel/cstable.h | 2 +- ragel/dotcodegen.h | 3 +-- ragel/fsmgraph.h | 3 +-- ragel/gendata.h | 3 +-- ragel/javacodegen.h | 1 - ragel/parsedata.h | 2 +- ragel/parsetree.h | 4 +--- ragel/pcheck.h | 2 +- ragel/ragel.h | 2 +- ragel/redfsm.h | 2 +- ragel/rlparse.kh | 4 ++-- ragel/rlscan.h | 2 +- ragel/rubyfflat.h | 4 +--- ragel/xmlcodegen.h | 7 +++---- ragel/xmlparse.kh | 2 +- 35 files changed, 65 insertions(+), 79 deletions(-) diff --git a/ragel/buffer.h b/ragel/buffer.h index ae96913..9c49c1f 100644 --- a/ragel/buffer.h +++ b/ragel/buffer.h @@ -52,4 +52,4 @@ struct Buffer int length; }; -#endif /* _BUFFER_H */ +#endif diff --git a/ragel/cdcodegen.h b/ragel/cdcodegen.h index 4f1561d..467a309 100644 --- a/ragel/cdcodegen.h +++ b/ragel/cdcodegen.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FSMCODEGEN_H -#define _FSMCODEGEN_H +#ifndef _CDCODEGEN_H +#define _CDCODEGEN_H #include #include @@ -222,4 +222,4 @@ public: virtual void writeExports(); }; -#endif /* _FSMCODEGEN_H */ +#endif diff --git a/ragel/cdfflat.h b/ragel/cdfflat.h index 2275469..406bca9 100644 --- a/ragel/cdfflat.h +++ b/ragel/cdfflat.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FFLATCODEGEN_H -#define _FFLATCODEGEN_H +#ifndef _CDFFLAT_H +#define _CDFFLAT_H #include #include "cdflat.h" @@ -72,4 +72,4 @@ struct DFFlatCodeGen FsmCodeGen(out), FFlatCodeGen(out), DCodeGen(out) {} }; -#endif /* _FFLATCODEGEN_H */ +#endif diff --git a/ragel/cdfgoto.h b/ragel/cdfgoto.h index b337389..802522d 100644 --- a/ragel/cdfgoto.h +++ b/ragel/cdfgoto.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FGOTOCODEGEN_H -#define _FGOTOCODEGEN_H +#ifndef _CDFGOTO_H +#define _CDFGOTO_H #include #include "cdgoto.h" @@ -72,4 +72,4 @@ struct DFGotoCodeGen FsmCodeGen(out), FGotoCodeGen(out), DCodeGen(out) {} }; -#endif /* _FGOTOCODEGEN_H */ +#endif diff --git a/ragel/cdflat.h b/ragel/cdflat.h index 3bc55ab..1a43e3e 100644 --- a/ragel/cdflat.h +++ b/ragel/cdflat.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FLATCODEGEN_H -#define _FLATCODEGEN_H +#ifndef _CDFLAT_H +#define _CDFLAT_H #include #include "cdcodegen.h" @@ -105,4 +105,4 @@ struct DFlatCodeGen FsmCodeGen(out), FlatCodeGen(out), DCodeGen(out) {} }; -#endif /* _FLATCODEGEN_H */ +#endif diff --git a/ragel/cdftable.h b/ragel/cdftable.h index 8124449..d075723 100644 --- a/ragel/cdftable.h +++ b/ragel/cdftable.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FTABCODEGEN_H -#define _FTABCODEGEN_H +#ifndef _CDFTABLE_H +#define _CDFTABLE_H #include #include "cdtable.h" @@ -74,4 +74,4 @@ struct DFTabCodeGen FsmCodeGen(out), FTabCodeGen(out), DCodeGen(out) {} }; -#endif /* _FTABCODEGEN_H */ +#endif diff --git a/ragel/cdgoto.h b/ragel/cdgoto.h index 88c72e6..7de8e9b 100644 --- a/ragel/cdgoto.h +++ b/ragel/cdgoto.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _GOTOCODEGEN_H -#define _GOTOCODEGEN_H +#ifndef _CDGOTO_H +#define _CDGOTO_H #include #include "cdcodegen.h" @@ -106,5 +106,4 @@ struct DGotoCodeGen FsmCodeGen(out), GotoCodeGen(out), DCodeGen(out) {} }; - -#endif /* _GOTOCODEGEN_H */ +#endif diff --git a/ragel/cdipgoto.h b/ragel/cdipgoto.h index 157da6c..cd5107e 100644 --- a/ragel/cdipgoto.h +++ b/ragel/cdipgoto.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _IPGCODEGEN_H -#define _IPGCODEGEN_H +#ifndef _CDIPGOTO_H +#define _CDIPGOTO_H #include #include "cdgoto.h" @@ -92,5 +92,4 @@ struct DIpGotoCodeGen FsmCodeGen(out), IpGotoCodeGen(out), DCodeGen(out) {} }; - -#endif /* _IPGCODEGEN_H */ +#endif diff --git a/ragel/cdsplit.h b/ragel/cdsplit.h index bda79ce..c00fc90 100644 --- a/ragel/cdsplit.h +++ b/ragel/cdsplit.h @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _SPLITCODEGEN_H -#define _SPLITCODEGEN_H +#ifndef _CDSPLIT_H +#define _CDSPLIT_H #include "cdipgoto.h" @@ -67,5 +67,4 @@ struct DSplitCodeGen FsmCodeGen(out), SplitCodeGen(out), DCodeGen(out) {} }; - -#endif /* _SPLITCODEGEN_H */ +#endif diff --git a/ragel/cdtable.h b/ragel/cdtable.h index 068b38b..b038283 100644 --- a/ragel/cdtable.h +++ b/ragel/cdtable.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _TABCODEGEN_H -#define _TABCODEGEN_H +#ifndef _CDTABLE_H +#define _CDTABLE_H #include #include "cdcodegen.h" @@ -111,5 +111,4 @@ struct DTabCodeGen FsmCodeGen(out), TabCodeGen(out), DCodeGen(out) {} }; - -#endif /* _TABCODEGEN_H */ +#endif diff --git a/ragel/common.h b/ragel/common.h index 0f0cf1b..00f30a2 100644 --- a/ragel/common.h +++ b/ragel/common.h @@ -395,4 +395,4 @@ enum RubyImplEnum Rubinius }; -#endif /* _COMMON_H */ +#endif diff --git a/ragel/config.h.in b/ragel/config.h.in index 8871c46..be133fb 100644 --- a/ragel/config.h.in +++ b/ragel/config.h.in @@ -37,4 +37,4 @@ #pragma warning( disable: 4244 4250 4355 4800 ) #endif -#endif /* _CONFIG_H */ +#endif diff --git a/ragel/cscodegen.h b/ragel/cscodegen.h index 6b996ce..73f3cfe 100644 --- a/ragel/cscodegen.h +++ b/ragel/cscodegen.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FSMCODEGEN_H -#define _FSMCODEGEN_H +#ifndef _CSCODEGEN_H +#define _CSCODEGEN_H #include #include @@ -204,4 +204,4 @@ public: #define MAX(a, b) (a > b ? a : b) -#endif /* _FSMCODEGEN_H */ +#endif diff --git a/ragel/csfflat.h b/ragel/csfflat.h index f1a5eed..b102fe5 100644 --- a/ragel/csfflat.h +++ b/ragel/csfflat.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FFLATCODEGEN_H -#define _FFLATCODEGEN_H +#ifndef _CSFFLAT_H +#define _CSFFLAT_H #include #include "csflat.h" @@ -52,4 +52,4 @@ private: virtual void writeExec(); }; -#endif /* _FFLATCODEGEN_H */ +#endif diff --git a/ragel/csfgoto.h b/ragel/csfgoto.h index f27fe57..fa9447b 100644 --- a/ragel/csfgoto.h +++ b/ragel/csfgoto.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FGOTOCODEGEN_H -#define _FGOTOCODEGEN_H +#ifndef _CSFGOTO_H +#define _CSFGOTO_H #include #include "csgoto.h" @@ -52,4 +52,4 @@ public: virtual void writeExec(); }; -#endif /* _FGOTOCODEGEN_H */ +#endif diff --git a/ragel/csflat.h b/ragel/csflat.h index c67d802..9f55f61 100644 --- a/ragel/csflat.h +++ b/ragel/csflat.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FLATCODEGEN_H -#define _FLATCODEGEN_H +#ifndef _CSFLAT_H +#define _CSFLAT_H #include #include "cscodegen.h" @@ -88,4 +88,4 @@ protected: string slenType, transType, actsType, nactsType, indsType, condsType; }; -#endif /* _FLATCODEGEN_H */ +#endif diff --git a/ragel/csftable.h b/ragel/csftable.h index 8601f6f..612ec32 100644 --- a/ragel/csftable.h +++ b/ragel/csftable.h @@ -21,8 +21,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FTABCODEGEN_H -#define _FTABCODEGEN_H +#ifndef _CSFTABLE_H +#define _CSFTABLE_H #include #include "cstable.h" @@ -53,4 +53,4 @@ private: virtual void calcIndexSize(); }; -#endif /* _FTABCODEGEN_H */ +#endif diff --git a/ragel/csgoto.h b/ragel/csgoto.h index ca5d21c..7491884 100644 --- a/ragel/csgoto.h +++ b/ragel/csgoto.h @@ -86,5 +86,4 @@ public: virtual void writeExec(); }; - -#endif /* _GOTOCODEGEN_H */ +#endif diff --git a/ragel/csipgoto.h b/ragel/csipgoto.h index 6eb83d5..4aeb47d 100644 --- a/ragel/csipgoto.h +++ b/ragel/csipgoto.h @@ -72,4 +72,4 @@ protected: void setLabelsNeeded(); }; -#endif /* _IPGCODEGEN_H */ +#endif diff --git a/ragel/cssplit.h b/ragel/cssplit.h index 595741a..9ff2d8f 100644 --- a/ragel/cssplit.h +++ b/ragel/cssplit.h @@ -50,4 +50,4 @@ public: int currentPartition; }; -#endif /* _SPLITCODEGEN_H */ +#endif diff --git a/ragel/cstable.h b/ragel/cstable.h index 49b5fd7..623f670 100644 --- a/ragel/cstable.h +++ b/ragel/cstable.h @@ -99,4 +99,4 @@ protected: string nactsType; }; -#endif /* _TABCODEGEN_H */ +#endif diff --git a/ragel/dotcodegen.h b/ragel/dotcodegen.h index 62ac583..54e09f3 100644 --- a/ragel/dotcodegen.h +++ b/ragel/dotcodegen.h @@ -45,5 +45,4 @@ private: std::ostream &KEY( Key key ); }; - -#endif /* _GVDOTGEN_H */ +#endif diff --git a/ragel/fsmgraph.h b/ragel/fsmgraph.h index ba9d011..e74b5c0 100644 --- a/ragel/fsmgraph.h +++ b/ragel/fsmgraph.h @@ -1527,5 +1527,4 @@ struct FsmAp bool checkSingleCharMachine( ); }; - -#endif /* _FSMGRAPH_H */ +#endif diff --git a/ragel/gendata.h b/ragel/gendata.h index d107202..ada3eb5 100644 --- a/ragel/gendata.h +++ b/ragel/gendata.h @@ -197,5 +197,4 @@ struct CodeGenData ostream &source_error( const InputLoc &loc ); }; - -#endif /* _GENDATA_H */ +#endif diff --git a/ragel/javacodegen.h b/ragel/javacodegen.h index decb4bd..555f192 100644 --- a/ragel/javacodegen.h +++ b/ragel/javacodegen.h @@ -191,5 +191,4 @@ public: void genLineDirective( ostream &out ); }; - #endif diff --git a/ragel/parsedata.h b/ragel/parsedata.h index 082da90..ef23850 100644 --- a/ragel/parsedata.h +++ b/ragel/parsedata.h @@ -403,4 +403,4 @@ typedef DList InputItemList; extern ParserDict parserDict; extern InputItemList inputItems; -#endif /* _PARSEDATA_H */ +#endif diff --git a/ragel/parsetree.h b/ragel/parsetree.h index 54a8671..88373a3 100644 --- a/ragel/parsetree.h +++ b/ragel/parsetree.h @@ -764,6 +764,4 @@ struct InlineItem * ptreetypes, which should be just typedef forwards. */ struct InlineList : public DList { }; - - -#endif /* _PARSETREE_H */ +#endif diff --git a/ragel/pcheck.h b/ragel/pcheck.h index 34d7cf8..0e388f8 100644 --- a/ragel/pcheck.h +++ b/ragel/pcheck.h @@ -45,4 +45,4 @@ private: const char **argv; }; -#endif /* _PCHECK_H */ +#endif diff --git a/ragel/ragel.h b/ragel/ragel.h index 9b2d8d5..434b9f9 100644 --- a/ragel/ragel.h +++ b/ragel/ragel.h @@ -110,4 +110,4 @@ extern bool graphvizDone; extern int numSplitPartitions; extern bool noLineDirectives; -#endif /* _RAGEL_H */ +#endif diff --git a/ragel/redfsm.h b/ragel/redfsm.h index a1164f9..2e7ad7c 100644 --- a/ragel/redfsm.h +++ b/ragel/redfsm.h @@ -527,4 +527,4 @@ struct RedFsmAp }; -#endif /* _REDFSM_H */ +#endif diff --git a/ragel/rlparse.kh b/ragel/rlparse.kh index 3297dbe..e5ce618 100644 --- a/ragel/rlparse.kh +++ b/ragel/rlparse.kh @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef RLPARSE_H -#define RLPARSE_H +#ifndef _RLPARSE_H +#define _RLPARSE_H #include #include "avltree.h" diff --git a/ragel/rlscan.h b/ragel/rlscan.h index 553a5c8..c15c009 100644 --- a/ragel/rlscan.h +++ b/ragel/rlscan.h @@ -127,4 +127,4 @@ struct Scanner int lastToken; }; -#endif /* _RLSCAN_H */ +#endif diff --git a/ragel/rubyfflat.h b/ragel/rubyfflat.h index 37d18b1..4ac412f 100644 --- a/ragel/rubyfflat.h +++ b/ragel/rubyfflat.h @@ -54,9 +54,6 @@ protected: virtual void writeExec(); }; -#endif /* _RUBY_FFLATCODEGEN_H */ - - /* * Local Variables: * mode: c++ @@ -65,3 +62,4 @@ protected: * End: */ +#endif diff --git a/ragel/xmlcodegen.h b/ragel/xmlcodegen.h index aa628c4..16eb8e5 100644 --- a/ragel/xmlcodegen.h +++ b/ragel/xmlcodegen.h @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _XMLDOTGEN_H -#define _XMLDOTGEN_H +#ifndef _XMLCODEGEN_H +#define _XMLCODEGEN_H #include #include "avltree.h" @@ -189,5 +189,4 @@ private: }; - -#endif /* _XMLDOTGEN_H */ +#endif diff --git a/ragel/xmlparse.kh b/ragel/xmlparse.kh index 4e37b45..1534cbe 100644 --- a/ragel/xmlparse.kh +++ b/ragel/xmlparse.kh @@ -209,4 +209,4 @@ int xml_parse( std::istream &input, const char *fileName, CodeGenData *makeCodeGen( const char *sourceFileName, const char *fsmName, ostream &out, bool wantComplete ); -#endif /* _XMLPARSE_H */ +#endif -- 2.7.4