diff options
author | Michael Schmidt <github@mschmidt.me> | 2015-10-14 15:07:48 +0200 |
---|---|---|
committer | Michael Schmidt <github@mschmidt.me> | 2015-10-14 15:07:48 +0200 |
commit | 60ab550a952c3d9719b2a91ec90c9b58769f6717 (patch) | |
tree | 523cf4eb5a35594b16a297b4bd7e29157f42b0fc /lib/Readconfig.mll | |
parent | a479c280441b91007c379b0b63b907926d54f930 (diff) | |
download | compcert-60ab550a952c3d9719b2a91ec90c9b58769f6717.tar.gz compcert-60ab550a952c3d9719b2a91ec90c9b58769f6717.zip |
bug 17392: remove trailing whitespace in source files
Diffstat (limited to 'lib/Readconfig.mll')
-rw-r--r-- | lib/Readconfig.mll | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |