From 025d25a146fbce66d7c1d8ffb1bcf1e2516f1b84 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Mon, 19 Dec 2022 19:48:21 +0100 Subject: [PATCH] Replace `nunmbers` to `numbers` in two comments of `src/parser.mly` --- src/parser.mly | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser.mly b/src/parser.mly index 71bbc0b..ef3504e 100644 --- a/src/parser.mly +++ b/src/parser.mly @@ -63,7 +63,7 @@ let make_binop_nonbool e1 e2 op error_msg = let t1 = type_exp e1 in let t2 = type_exp e2 in - (** e1 and e2 should be nunmbers here.*) + (** e1 and e2 should be numbers here.*) if list_chk t1 [[TInt]; [TReal]] && list_chk t2 [[TInt]; [TReal]] then begin @@ -88,7 +88,7 @@ let make_comp_nonbool e1 e2 op error_msg = let t1 = type_exp e1 in let t2 = type_exp e2 in - (** e1 and e2 should be nunmbers here.*) + (** e1 and e2 should be numbers here.*) if list_chk t1 [[TInt]; [TReal]] && list_chk t2 [[TInt]; [TReal]] then begin