Commit 0d279791 authored by Jonh Wendell's avatar Jonh Wendell

Bump vala version to 0.12

parent d65856d9
......@@ -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
......
......@@ -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 \
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment