From 4d542bc7eafadb16b845cf05d1eb4988eb55ed0f Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Tue, 20 Oct 2015 13:32:18 +0200 Subject: Updated PR by removing whitespaces. Bug 17450. --- lib/Readconfig.mll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Readconfig.mll') diff --git a/lib/Readconfig.mll b/lib/Readconfig.mll index 27ef32cf..ec2f6bb0 100644 --- a/lib/Readconfig.mll +++ b/lib/Readconfig.mll @@ -28,7 +28,7 @@ let error msg lexbuf = lexbuf.lex_curr_p.pos_lnum, msg))) -let ill_formed_line lexbuf = error "Ill-formed line" lexbuf +let ill_formed_line lexbuf = error "Ill-formed line" lexbuf let unterminated_quote lexbuf = error "Unterminated quote" lexbuf let lone_backslash lexbuf = error "Lone \\ (backslash) at end of file" lexbuf @@ -41,7 +41,7 @@ let ident = ['A'-'Z' 'a'-'z' '_'] ['A'-'Z' 'a'-'z' '0'-'9' '_' '.']* rule begline = parse | '#' [^ '\n']* ('\n' | eof) { Lexing.new_line lexbuf; begline lexbuf } - | whitespace* (ident as key) whitespace* '=' + | whitespace* (ident as key) whitespace* '=' { let words = unquoted false [] lexbuf in Hashtbl.add key_val_tbl key (List.rev words); begline lexbuf } -- cgit