val is_typedef : string -> bool
-val lexer_reset_typedef : unit -> unit
+val lexer_reset_typedef :
+ (string, identkind) Common.scoped_h_env option (* known typedefs *) -> unit
val _old_state : (string, identkind) Common.scoped_h_env ref
val save_typedef_state : unit -> unit
val restore_typedef_state : unit -> unit
-type context =
+type context =
| InTopLevel
| InFunction
| InStruct
| InInitializer
| InEnum
-type lexer_hint = {
+type lexer_hint = {
mutable context_stack: context Common.stack;
}