summaryrefslogtreecommitdiff
path: root/test/rlparse.d/ragel.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-23 10:15:10 +0200
committerAdrian Thurston <thurston@colm.net>2018-05-23 10:15:10 +0200
commit75ea06cbf7c922c0bdbc717c2bb7882f06e7ac68 (patch)
tree2918ff41fa378b9ab06d67477824e5ec1e7e0668 /test/rlparse.d/ragel.h
parentb5e6ba2c784d818c53c2a64af64a466865174c81 (diff)
downloadcolm-75ea06cbf7c922c0bdbc717c2bb7882f06e7ac68.tar.gz
removed test case directory
tests now maintained outside of code repository
Diffstat (limited to 'test/rlparse.d/ragel.h')
-rw-r--r--test/rlparse.d/ragel.h105
1 files changed, 0 insertions, 105 deletions
diff --git a/test/rlparse.d/ragel.h b/test/rlparse.d/ragel.h
deleted file mode 100644
index db26b155..00000000
--- a/test/rlparse.d/ragel.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright 2001-2007 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 _RAGEL_H
-#define _RAGEL_H
-
-#include <stdio.h>
-#include <iostream>
-#include <fstream>
-#include <string>
-#include "vector.h"
-#include "config.h"
-#include "common.h"
-
-#define PROGNAME "ragel"
-
-#define MAIN_MACHINE "main"
-
-/* Target output style. */
-enum CodeStyle
-{
- GenBinaryLoop,
- GenBinaryExp,
- GenFlatLoop,
- GenFlatExp,
- GenSwitchLoop,
- GenSwitchExp,
- GenIpGoto
-};
-
-/* To what degree are machine minimized. */
-enum MinimizeLevel {
- #ifdef TO_UPGRADE_CONDS
- MinimizeApprox,
- #endif
- #ifdef TO_UPGRADE_CONDS
- MinimizeStable,
- #endif
- MinimizePartition1,
- MinimizePartition2
-};
-
-enum MinimizeOpt {
- MinimizeNone,
- MinimizeEnd,
- MinimizeMostOps,
- MinimizeEveryOp
-};
-
-/* Target implementation */
-enum RubyImplEnum
-{
- MRI,
- Rubinius
-};
-
-/* Error reporting format. */
-enum ErrorFormat {
- ErrorFormatGNU,
- ErrorFormatMSVC,
-};
-
-extern ErrorFormat errorFormat;
-
-
-struct colm_location;
-
-InputLoc makeInputLoc( const char *fileName, int line = 0, int col = 0 );
-InputLoc makeInputLoc( const struct colm_location *loc );
-std::ostream &operator<<( std::ostream &out, const InputLoc &loc );
-
-void xmlEscapeHost( std::ostream &out, const char *data, long len );
-
-
-using std::endl;
-
-extern const char mainMachine[];
-
-struct AbortCompile
-{
- AbortCompile( int code )
- : code(code) {}
-
- int code;
-};
-
-#endif