The rlcodegen executable was changed to rlgen-cd.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Mon, 12 Feb 2007 05:48:51 +0000 (05:48 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Mon, 12 Feb 2007 05:48:51 +0000 (05:48 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@105 052ea7fc-9027-0410-9066-f65837a77df0

13 files changed:
rlgen-cd/Makefile.in
rlgen-cd/fflatcodegen.cpp
rlgen-cd/fgotocodegen.cpp
rlgen-cd/flatcodegen.cpp
rlgen-cd/fsmcodegen.cpp
rlgen-cd/ftabcodegen.cpp
rlgen-cd/gotocodegen.cpp
rlgen-cd/ipgotocodegen.cpp
rlgen-cd/main.cpp
rlgen-cd/rlgen-cd.h [moved from rlgen-cd/rlcodegen.h with 97% similarity]
rlgen-cd/splitcodegen.cpp
rlgen-cd/tabcodegen.cpp
test/runtests

index 2dc2ccd..c3eaa61 100644 (file)
@@ -48,9 +48,9 @@ DEPS = $(CC_SRCS:%.cpp=.%.d)
 include ../version.mk
 
 # Rules.
-all: rlcodegen
+all: rlgen-cd
 
-rlcodegen: $(LIBS) $(OBJS)
+rlgen-cd: $(LIBS) $(OBJS)
        $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
 %.o: %.cpp
@@ -61,10 +61,10 @@ distclean: clean
        rm -f Makefile
 
 clean:
-       rm -f tags .*.d *.o rlcodegen $(EXTRA_CLEAN)
+       rm -f tags .*.d *.o rlgen-cd $(EXTRA_CLEAN)
 
 install: all
        install -d $(PREFIX)/bin
-       install -s rlcodegen $(PREFIX)/bin/rlcodegen
+       install -s rlgen-cd $(PREFIX)/bin/rlgen-cd
 
 -include $(DEPS)
index 5386aca..266ea54 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "fflatcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index 9281393..3ad5ea3 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "fgotocodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index 98f3ae5..12c9805 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "flatcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index c8d35c4..b1e4929 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "fsmcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index 87ffeff..03b04c1 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "ftabcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index e9349e0..977666f 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "gotocodegen.h"
 #include "redfsm.h"
 #include "bstmap.h"
index 773e1f3..d03ae66 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "ipgotocodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index 98488d8..77309cd 100644 (file)
@@ -27,7 +27,7 @@
 #include <unistd.h>
 
 #include "common.h"
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "xmlparse.h"
 #include "pcheck.h"
 #include "vector.h"
@@ -114,7 +114,7 @@ ostream &error()
 ostream *openOutput( char *inputFile )
 {
        if ( hostLangType != CCode && hostLangType != DCode )
-               error() << PROGNAME " generates code for C and D only" << endl;
+               error() << "this code generator is for C and D only" << endl;
 
        /* If the output format is code and no output file name is given, then
         * make a default. */
similarity index 97%
rename from rlgen-cd/rlcodegen.h
rename to rlgen-cd/rlgen-cd.h
index 1b7b85e..af5b1e2 100644 (file)
@@ -28,7 +28,7 @@
 #include "vector.h"
 #include "config.h"
 
-#define PROGNAME "rlcodegen"
+#define PROGNAME "rlgen-cd"
 
 /* Target output style. */
 enum CodeStyleEnum
index 0621083..7be111a 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "splitcodegen.h"
 #include "gendata.h"
 #include <assert.h>
index e46e356..9e950d0 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
 #include "tabcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
index 48bbf2e..3bf955c 100755 (executable)
@@ -98,28 +98,28 @@ for test_case; do
 
        case $lang in
                c++)
-                       codegen=../rlcodegen/rlcodegen;
+                       codegen=../rlgen-cd/rlgen-cd;
                        code_suffix=cpp;
                        compiler=$cxx_compiler;
                        lang_opt=-C;
                        cflags="-pedantic -ansi -Wall -O3"
                ;;
                d)
-                       codegen=../rlcodegen/rlcodegen;
+                       codegen=../rlgen-cd/rlgen-cd;
                        code_suffix=d;
                        compiler=$d_compiler;
                        lang_opt=-D;
                        cflags="-Wall -O3"
                ;;
                c)
-                       codegen=../rlcodegen/rlcodegen;
+                       codegen=../rlgen-cd/rlgen-cd;
                        code_suffix=c;
                        compiler=$c_compiler;
                        lang_opt=-C;
                        cflags="-pedantic -ansi -Wall -O3"
                ;;
                obj-c)
-                       codegen=../rlcodegen/rlcodegen;
+                       codegen=../rlgen-cd/rlgen-cd;
                        code_suffix=m;
                        compiler=$objc_compiler
                        lang_opt=-C;