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 /backend/CMlexer.mll | |
parent | a479c280441b91007c379b0b63b907926d54f930 (diff) | |
download | compcert-60ab550a952c3d9719b2a91ec90c9b58769f6717.tar.gz compcert-60ab550a952c3d9719b2a91ec90c9b58769f6717.zip |
bug 17392: remove trailing whitespace in source files
Diffstat (limited to 'backend/CMlexer.mll')
-rw-r--r-- | backend/CMlexer.mll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/CMlexer.mll b/backend/CMlexer.mll index 7ed5b4ab..6695b6b7 100644 --- a/backend/CMlexer.mll +++ b/backend/CMlexer.mll @@ -21,8 +21,8 @@ exception Error of string } let blank = [' ' '\009' '\012' '\010' '\013'] -let floatlit = - ("-"? (['0'-'9'] ['0'-'9' '_']* +let floatlit = + ("-"? (['0'-'9'] ['0'-'9' '_']* ('.' ['0'-'9' '_']* )? (['e' 'E'] ['+' '-']? ['0'-'9'] ['0'-'9' '_']*)? )) | "inf" | "nan" let ident = ['A'-'Z' 'a'-'z' '_'] ['A'-'Z' 'a'-'z' '_' '$' '0'-'9']* @@ -69,7 +69,7 @@ rule token = parse | "floatofintu" { FLOATOFINTU } | "floatoflong" { FLOATOFLONG } | "floatoflongu" { FLOATOFLONGU } - | "goto" { GOTO } + | "goto" { GOTO } | ">" { GREATER } | ">f" { GREATERF } | ">l" { GREATERL } |