[anjuta] Bump vala version to 0.12
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Bump vala version to 0.12
- Date: Fri, 12 Nov 2010 17:18:48 +0000 (UTC)
commit 0d2797914e6c04f77d8ea425f86c90753caeb214
Author: Jonh Wendell <jwendell gnome org>
Date: Fri Nov 12 14:23:15 2010 -0300
Bump vala version to 0.12
configure.ac | 2 +-
plugins/symbol-db/anjuta-tags/Makefile.am | 2 +-
plugins/symbol-db/anjuta-tags/ctags-visitor.vala | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d2846d4..86859ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -285,7 +285,7 @@ else
AC_MSG_RESULT(no)
enable_vala="yes"
PKG_CHECK_MODULES(VALA,
- [vala-0.10 >= $VALA_REQUIRED])
+ [libvala-0.12 >= $VALA_REQUIRED])
fi
if test x$enable_vala = xyes; then
diff --git a/plugins/symbol-db/anjuta-tags/Makefile.am b/plugins/symbol-db/anjuta-tags/Makefile.am
index 159483b..59b4b9d 100644
--- a/plugins/symbol-db/anjuta-tags/Makefile.am
+++ b/plugins/symbol-db/anjuta-tags/Makefile.am
@@ -31,7 +31,7 @@ js-parser/lex.yy.c : ${LEXFILE}
${LEXER} ${LEXCCFLAGS} ${LEXFILE}
ctags-visitor.c: ctags-visitor.vala
- $(VALAC) -g -h ctags-vala.h -C --pkg vala-0.10 $^
+ $(VALAC) -g -h ctags-vala.h -C --pkg libvala-0.12 $^
anjuta_tags_SOURCES = \
main.c \
diff --git a/plugins/symbol-db/anjuta-tags/ctags-visitor.vala b/plugins/symbol-db/anjuta-tags/ctags-visitor.vala
index 160c8fa..828f87a 100644
--- a/plugins/symbol-db/anjuta-tags/ctags-visitor.vala
+++ b/plugins/symbol-db/anjuta-tags/ctags-visitor.vala
@@ -112,7 +112,7 @@ public class CTagsVisitor : CodeVisitor {
}
return ret.str;
}
- static string signature (Vala.List<Vala.FormalParameter> parameter) {
+ static string signature (Vala.List<Vala.Parameter> parameter) {
var ret = new StringBuilder("(");
var first = true;
foreach (var p in parameter) {
@@ -367,7 +367,7 @@ public class CTagsVisitor : CodeVisitor {
* assumes that Parser.context is the same as source_file.context anyway */
var context = new CodeContext();
context.report = new DummyReport();
- var source_file = new SourceFile(context, filename, filename.has_suffix("vapi"));
+ var source_file = new SourceFile(context, filename.has_suffix("vapi") ? SourceFileType.PACKAGE : SourceFileType.SOURCE, filename);
CodeContext.push(context);
context.add_source_file(source_file);
@@ -383,7 +383,7 @@ public class CTagsVisitor : CodeVisitor {
taglist = new GLib.List<CTagsEntry?>();
var context = new CodeContext();
context.report = new DummyReport();
- var source_file = new SourceFile(context, filename);
+ var source_file = new SourceFile(context, SourceFileType.SOURCE, filename);
context.add_source_file(source_file);
CodeContext.push(context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]