diff options
author | Adrian Thurston <thurston@complang.org> | 2012-07-01 12:48:22 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-07-01 12:48:22 -0400 |
commit | 247904a84430b8c9151fa6afb68f01b60afb92c9 (patch) | |
tree | 58d498f783a935b02255120c814c387745dc6e41 /src/defs.h.in | |
parent | d8cdec468bb7efad768d25872147533312cffe91 (diff) | |
download | colm-247904a84430b8c9151fa6afb68f01b60afb92c9.tar.gz |
moved 'colm' dir to 'src'
Diffstat (limited to 'src/defs.h.in')
-rw-r--r-- | src/defs.h.in | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/defs.h.in b/src/defs.h.in new file mode 100644 index 00000000..06a3f9df --- /dev/null +++ b/src/defs.h.in @@ -0,0 +1,49 @@ +/* + * Copyright 2001 Adrian Thurston <thurston@complang.org> + */ + +/* This file is part of Ragel. + * + * Ragel is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Ragel is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ragel; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _CONFIG_H +#define _CONFIG_H + +/* Configuration */ +#undef COLM_LOG +#undef COLM_LOG_BYTECODE +#undef COLM_LOG_PARSE +#undef COLM_LOG_MATCH +#undef COLM_LOG_COMPILE + +/* If COLM_LOG is defined then turn on all logging options. */ +#ifdef COLM_LOG +#define COLM_LOG_BYTECODE 1 +#define COLM_LOG_PARSE 1 +#define COLM_LOG_MATCH 1 +#define COLM_LOG_COMPILE 1 +#endif + +extern int colm_log_bytecode; +extern int colm_log_parse; +extern int colm_log_match; +extern int colm_log_compile; +extern int colm_log_conds; + +/* The size of `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +#endif /* _CONFIG_H */ |