Package: jasmin-sable / 2.4.0-4

04-fix-field-support.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

  * Fixes parsing of field definitions (Closes: #538861)

 -- Chris Lamb <lamby@debian.org>  Thu, 30 Jul 2009 15:28:41 +0200

diff -urNad /tmp/bp-build/jasmin-sable.orig/src/jasmin/parser.cup /tmp/bp-build/jasmin-sable/src/jasmin/parser.cup
--- jasmin-sable.orig/src/jasmin/parser.cup	2009-07-30 15:18:09.000000000 +0200
+++ jasmin-sable/src/jasmin/parser.cup	2009-07-30 15:18:41.000000000 +0200
@@ -298,22 +298,22 @@
 field_item ::= field_spec field_attrs | field_spec;
 
 field_spec ::=
-    DFIELD access:a Str:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr
+    DFIELD access:a Word:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr
         {:
             classFile.addField((short)a.intValue(), name, sig, v, dep_attr, sig_attr, vis_annot_attr, null);
         :}
    |
-   DFIELD access:a Str:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr
+   DFIELD access:a Word:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr_opt:vis_annot_attr
         {:
             classFile.addField((short)a.intValue(), name, sig, v, "synth", dep_attr, sig_attr, vis_annot_attr, null);
         :}
    |
-    DFIELD access:a Str:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2
+    DFIELD access:a Word:name Word:sig optional_default:v SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2
         {:
             classFile.addField((short)a.intValue(), name, sig, v, dep_attr, sig_attr, vis_annot_attr1, vis_annot_attr2);
         :}
    |
-   DFIELD access:a Str:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2
+   DFIELD access:a Word:name Word:sig optional_default:v DSYNTHETIC SEP deprecated_attr:dep_attr signature_attr:sig_attr annotation_attr:vis_annot_attr1 annotation_attr:vis_annot_attr2
         {:
             classFile.addField((short)a.intValue(), name, sig, v, "synth", dep_attr, sig_attr, vis_annot_attr1, vis_annot_attr2);
         :}