annotate runtime/compiler/decada.vim @ 3348:af4ed13ca541 v7.3.441

updated for version 7.3.441 Problem: Newer versions of MzScheme (Racket) require earlier (trampolined) initialisation. Solution: Call mzscheme_main() early in main(). (Sergey Khorev)
author Bram Moolenaar <bram@vim.org>
date Sun, 12 Feb 2012 01:55:55 +0100
parents 7bc41231fbc7
children d1e4abe8342c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
1 "------------------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
2 " Description: Vim Ada/Dec Ada compiler file
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
3 " Language: Ada (Dec Ada)
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1668
diff changeset
4 " $Id: decada.vim 887 2008-07-08 14:29:01Z krischik $
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
5 " Copyright: Copyright (C) 2006 Martin Krischik
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
6 " Maintainer: Martin Krischik <krischik@users.sourceforge.net>
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1668
diff changeset
7 " $Author: krischik $
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1668
diff changeset
8 " $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
9 " Version: 4.6
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1668
diff changeset
10 " $Revision: 887 $
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
11 " $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/decada.vim $
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
12 " History: 21.07.2006 MK New Dec Ada
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
13 " 15.10.2006 MK Bram's suggestion for runtime integration
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
14 " 08.09.2006 MK Correct double load protection.
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
15 " Help Page: compiler-decada
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
16 "------------------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
17
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
18 if (exists("current_compiler") &&
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
19 \ current_compiler == "decada") ||
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
20 \ version < 700
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
21 finish
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
22 endif
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
23
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
24 let current_compiler = "decada"
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
25
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
26 if !exists("g:decada")
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
27 let g:decada = decada#New ()
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
28
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
29 call ada#Map_Menu (
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
30 \'Dec Ada.Build',
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
31 \'<F7>',
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
32 \'call decada.Make ()')
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
33
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1125
diff changeset
34 call g:decada.Set_Session ()
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
35 endif
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
36
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
37 if exists(":CompilerSet") != 2
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
38 "
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
39 " plugin loaded by other means then the "compiler" command
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
40 "
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
41 command -nargs=* CompilerSet setlocal <args>
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
42 endif
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
43
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
44 execute "CompilerSet makeprg=" . escape (g:decada.Make_Command, ' ')
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
45 execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
46
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
47 finish " 1}}}
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
48
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
49 "------------------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
50 " Copyright (C) 2006 Martin Krischik
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
51 "
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
52 " Vim is Charityware - see ":help license" or uganda.txt for licence details.
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
53 "------------------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
54 " vim: textwidth=78 wrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
55 " vim: foldmethod=marker