Handle $ in type names.
authorMichael Zucchi <michael@swordfish.com.au>
Tue, 14 May 2019 13:02:25 +0000 (22:32 +0930)
committerMichael Zucchi <michael@swordfish.com.au>
Tue, 14 May 2019 13:02:25 +0000 (22:32 +0930)
src/notzed.nativez/jni/nativez-gen

index 710ee4a..f359fdf 100755 (executable)
@@ -91,7 +91,7 @@ while (<IN>) {
        }
     } elsif ($mode eq "java") {
        # maps to strict "[static|],name,(arguments)"
-       if (m/(static)? *([\w<>]*) *, *([\[\w<>\(\)\/;]*)/) {
+       if (m/(static)? *([\w<>]*) *, *([\[\w\$<>\(\)\/;]*)/) {
            push @classes,"$1,$2,$3";
        }
     }