Browse Source

[display] inline is an expression-level keyword too now

Jens Fischer 6 years ago
parent
commit
45a22a9754
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/context/display/displayToplevel.ml

+ 1 - 1
src/context/display/displayToplevel.ml

@@ -323,7 +323,7 @@ let collect ctx tk with_type =
 		(* keywords *)
 		let kwds = [
 			Function; Var; If; Else; While; Do; For; Break; Return; Continue; Switch;
-			Try; New; Throw; Untyped; Cast;
+			Try; New; Throw; Untyped; Cast; Inline;
 		] in
 		List.iter (fun kwd -> add(make_ci_keyword kwd) (Some (s_keyword kwd))) kwds;