summaryrefslogtreecommitdiff
path: root/ide/highlight.mll
diff options
context:
space:
mode:
Diffstat (limited to 'ide/highlight.mll')
-rw-r--r--ide/highlight.mll19
1 files changed, 11 insertions, 8 deletions
diff --git a/ide/highlight.mll b/ide/highlight.mll
index 8cd55c97..f2ecaa9c 100644
--- a/ide/highlight.mll
+++ b/ide/highlight.mll
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: highlight.mll 11004 2008-05-28 09:09:12Z herbelin $ *)
+(* $Id: highlight.mll 11481 2008-10-20 19:23:51Z herbelin $ *)
{
@@ -110,13 +110,16 @@ rule next_starting_order = parse
| multiword_command
{ starting:=false; lexeme_start lexbuf, lexeme_end lexbuf, "kwd" }
| ident as id
- { starting:=false;
- if is_one_word_command id then
- lexeme_start lexbuf, lexeme_end lexbuf, "kwd"
- else if is_one_word_declaration id then
- lexeme_start lexbuf, lexeme_end lexbuf, "decl"
- else
- next_interior_order lexbuf
+ { if id = "Time" then next_starting_order lexbuf else
+ begin
+ starting:=false;
+ if is_one_word_command id then
+ lexeme_start lexbuf, lexeme_end lexbuf, "kwd"
+ else if is_one_word_declaration id then
+ lexeme_start lexbuf, lexeme_end lexbuf, "decl"
+ else
+ next_interior_order lexbuf
+ end
}
| _ { starting := false; next_interior_order lexbuf}
| eof { raise End_of_file }