diff options
| author | Pierre Letouzey | 2018-04-06 16:36:09 +0200 |
|---|---|---|
| committer | Jason Gross | 2018-08-31 20:05:52 -0400 |
| commit | 3c2331a4a9d8c5d5f27c90185c616fe3400d4f1f (patch) | |
| tree | 06b80151f634a3bcf3bc9b53e49552a7101ac22e /plugins/syntax/string_syntax.ml | |
| parent | 5df8f2ed3d9cf8d7903568308d8ce2e8e6dd4720 (diff) | |
Extraargs: avoid two token declarations to appear in all .vo
Without this, the library segment of all .vo except Notations.vo starts
with two TOKEN objects (declaration of tokens "->" and "<-").
This is due to side effects creating these objects during the dynlink
of ltac_plugin.cmxs, more precisely the two Metasyntax.add_token_obj in
Extraargs. It's quite cleaner to register these two side effects via
Mltop.declare_cache_obj, so that the two objects only live in
Notations.vo, and are loaded from there.
Diffstat (limited to 'plugins/syntax/string_syntax.ml')
0 files changed, 0 insertions, 0 deletions
