We have gone back to supporting all alphtypes. We don't need to force the byte
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 11 Feb 2007 17:24:46 +0000 (17:24 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 11 Feb 2007 17:24:46 +0000 (17:24 +0000)
alphabet type anymore.

git-svn-id: http://svn.complang.org/ragel/trunk@99 052ea7fc-9027-0410-9066-f65837a77df0

test/java1.rl
test/java2.rl
test/langtrans_java.txl

index d98f6c7..128386f 100644 (file)
@@ -7,7 +7,6 @@ class java1
 {
        %%{
                machine java1;
-               alphtype byte;
 
                one := 'one\n';
                two := 'two\n';
index a20d793..61d9ac9 100644 (file)
@@ -1,9 +1,6 @@
 /*
  * @LANG: java
  * @ALLOW_GENFLAGS: -T0
- *
- * Need unpacking of integer types for this to work.
- * @IGNORE: yes
  */
 
 class java2
index 542e35b..3f1755d 100644 (file)
@@ -272,16 +272,6 @@ rule machineName
                'machine ClassName ';
 end rule
 
-function byteAlphtype
-       replace * [repeat statement]
-               MS [machine_stmt]
-               Rest [repeat statement]
-       by
-               MS
-               'alphtype 'byte ';
-               Rest
-end function
-
 function langTransJava
        replace [program]
                Definitions [repeat action_lang_stmt]
@@ -293,7 +283,7 @@ function langTransJava
        construct JavaInitializations [repeat java_lang_stmt]
                _ [alToJava Initializations]
        construct NewRagelDef [ragel_def]
-               RagelDef [actionTransJava] [machineName] [byteAlphtype]
+               RagelDef [actionTransJava] [machineName]
        import ArrayInits [java_statements]
                ArrayInitStmts [repeat java_lang_stmt]
        by