[vala] Do not accept static as type modifier
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Do not accept static as type modifier
- Date: Sat, 21 May 2011 14:22:59 +0000 (UTC)
commit ae9cca4850fbe9260b728cc0cfe03828ecfbc9f3
Author: Jürg Billeter <j bitron ch>
Date: Sat May 21 16:20:19 2011 +0200
Do not accept static as type modifier
Fixes bug 650686.
vala/valaparser.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/vala/valaparser.vala b/vala/valaparser.vala
index 1caaf25..991b008 100644
--- a/vala/valaparser.vala
+++ b/vala/valaparser.vala
@@ -3124,10 +3124,6 @@ public class Vala.Parser : CodeVisitor {
next ();
flags |= ModifierFlags.SEALED;
break;
- case TokenType.STATIC:
- next ();
- flags |= ModifierFlags.STATIC;
- break;
default:
return flags;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]