Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void parse() {
- if (parsing)
- return;
- begin_parsing();
- try {
- Thread.create<void>(() => {
- lock (context) {
- parsing = true;
- report.init();
- Vala.CodeContext.push (context);
- foreach (var file in context.get_source_files())
- if (file.get_nodes().size == 0)
- parser.visit_source_file (file);
- context.check();
- Vala.CodeContext.pop();
- end_parsing (report);
- parsing = false;
- }
- }, false);
- } catch {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement