diff options
Diffstat (limited to 'parsing')
| -rw-r--r-- | parsing/pcoq.ml | 2 | ||||
| -rw-r--r-- | parsing/pcoq.mli | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/parsing/pcoq.ml b/parsing/pcoq.ml index 4b42c59d54..d1a6e0eda2 100644 --- a/parsing/pcoq.ml +++ b/parsing/pcoq.ml @@ -165,7 +165,7 @@ struct | Tok.IDENT ident when not (List.mem_f String.equal ident idents) -> Some (n + 1) | _ -> None - let lk_int tok n strm = match stream_nth n strm with + let lk_nat tok n strm = match stream_nth n strm with | Tok.NUMERAL { NumTok.int = _; frac = ""; exp = "" } -> Some (n + 1) | _ -> None diff --git a/parsing/pcoq.mli b/parsing/pcoq.mli index 746510b911..6543a69b50 100644 --- a/parsing/pcoq.mli +++ b/parsing/pcoq.mli @@ -43,7 +43,7 @@ module Lookahead : sig val check_no_space : t val lk_kw : string -> t val lk_kws : string list -> t - val lk_int : t + val lk_nat : t val lk_ident : t val lk_ident_except : string list -> t val lk_ident_list : t |
