Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / ide / enscript / sml_gaudy.st
CommitLineData
7f918cf1
CE
1/**
2 * Name: sml_gaudy
3 * Description: Standard ML programming language.
4 * Author: Matthew Fluet <mfluet@acm.org>
5 */
6
7/*
8builtin_face ---
9comment_face --- comments
10function_name_face --- modules keywords
11highlight_face ---
12keyword_face --- core keywords
13reference_face --- special constants (nums)
14string_face --- strings
15type_face --- type bindings, type annotations
16variable_name_face --- constructor bindings
17*/
18
19require_state (sml_fancy);
20
21state sml_gaudy extends sml_fancy
22{
23 /*
24 * Keywords
25 */
26 /,/ {
27 sml_finish_typctxt ();
28 language_print ($0);
29 }
30 /:/ {
31 if (sml_andbind[0] == SML_AND_STRBIND ||
32 sml_andbind[0] == SML_AND_FUNBIND) {
33 language_print ($0);
34 } else {
35 language_print ($0);
36 if (sml_typctxt == -1)
37 sml_start_typctxt (0);
38 }
39 }
40}
41
42\f
43/*
44Local variables:
45mode: c
46End:
47*/