From eb673b19f2fe5902736358a2f6270d8850cb6d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=BD=20Kim=20Quy=C3=AAn?= Date: Mon, 19 Nov 2018 11:06:10 +0100 Subject: [PATCH] fix the parser by adding the character 'b' into the case of warning instead of raise an error' --- src/lib_micheline/micheline_parser.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_micheline/micheline_parser.ml b/src/lib_micheline/micheline_parser.ml index 60cfdc4d5..eee137851 100644 --- a/src/lib_micheline/micheline_parser.ml +++ b/src/lib_micheline/micheline_parser.ml @@ -235,7 +235,7 @@ let tokenize source = begin match uchar_to_char c with | Some ('0'.. '9') -> integer acc start | Some 'x' -> bytes acc start - | Some ('a' | 'c'..'w' | 'y' | 'z' | 'A'..'Z') -> + | Some ('a'..'w' | 'y' | 'z' | 'A'..'Z') -> errors := Missing_break_after_number stop :: !errors ; back charloc ; skip (tok start stop (Int "0") :: acc)