[m-rev.] trivial diff: update vim syntax file

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Jan 6 01:19:49 AEDT 2011


Branches: main, 11.01

Update the vim syntax file.

vim/syntax/mercury.vim:
 	Highlight the recently added scopes.

 	Delete some stuff related to the old C interface.

Julien.

Index: vim/syntax/mercury.vim
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/vim/syntax/mercury.vim,v
retrieving revision 1.29
diff -u -r1.29 mercury.vim
--- vim/syntax/mercury.vim	11 Jun 2009 08:22:42 -0000	1.29
+++ vim/syntax/mercury.vim	5 Jan 2011 14:17:07 -0000
@@ -43,12 +43,15 @@
  syn keyword mercuryKeyword      typeclass instance where
  syn keyword mercuryKeyword      pragma promise external
  syn keyword mercuryKeyword      trace atomic or_else
+syn keyword mercuryKeyword      require_complete_switch
+syn keyword mercuryKeyword      require_det require_semidet require_multi 
+syn keyword mercuryKeyword      require_nondet require_cc_multi require_cc_nondet
+syn keyword mercuryKeyword      require_erroneous require_failure
  syn keyword mercuryPragma       inline no_inline
  syn keyword mercuryPragma       type_spec source_file fact_table obsolete
  syn keyword mercuryPragma       memo loop_check minimal_model
  syn keyword mercuryPragma       terminates does_not_terminate check_termination
  syn keyword mercuryPragma       promise_equivalent_clauses
-syn keyword mercuryCInterface   c_header_code c_code
  syn keyword mercuryCInterface   foreign_proc foreign_decl foreign_code
  syn keyword mercuryCInterface   foreign_type foreign_import_module
  syn keyword mercuryCInterface   foreign_export_enum foreign_export
@@ -65,7 +68,6 @@
  syn keyword mercuryCInterface   affects_liveness
  syn keyword mercuryCInterface   does_not_affect_liveness doesnt_affect_liveness
  syn keyword mercuryCInterface   no_sharing unknown_sharing sharing
-syn keyword mercuryCInterface   export import
  syn keyword mercuryImpure       impure semipure
  syn keyword mercuryToDo         XXX TODO NOTE
  syn keyword mercuryLogical      some all not if then else true fail false

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list