]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: parser: Fix broken ?
authorFlorian Brosch <flo.brosch@gmail.com>
Sun, 18 Dec 2011 17:52:53 +0000 (18:52 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Sun, 18 Dec 2011 17:52:53 +0000 (18:52 +0100)
src/libvaladoc/parser/rule.vala

index 192cfa5519006decd2e7705cab17777de223b721..50ff6e3935d319b9df5fda5eaf557156ff42871e 100755 (executable)
@@ -24,15 +24,15 @@ using Gee;
 
 public abstract class Valadoc.Rule : Object {
 
-       public static Rule seq (Object?[] scheme) {
+       public static Rule seq (Object[] scheme) {
                return new SequenceRule (scheme);
        }
 
-       public static Rule one_of (Object?[] scheme) {
+       public static Rule one_of (Object[] scheme) {
                return new OneOfRule (scheme);
        }
 
-       public static Rule many (Object?[] scheme) {
+       public static Rule many (Object[] scheme) {
                if (scheme.length == 1) {
                        return new ManyRule (scheme[0]);
                } else {
@@ -40,7 +40,7 @@ public abstract class Valadoc.Rule : Object {
                }
        }
 
-       public static Rule option (Object?[] scheme) {
+       public static Rule option (Object[] scheme) {
                if (scheme.length == 1) {
                        return new OptionalRule (scheme[0]);
                } else {