"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/absil/illex.fsl" between
fsharp-4.1.33.tar.gz and fsharp-4.5.tar.gz

About: Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. fsharp is the F# compiler and core library.

illex.fsl  (fsharp-4.1.33):illex.fsl  (fsharp-4.5)
skipping to change at line 89 skipping to change at line 89
let kwdOrInstr s = (Lazy.force kwdInstrTable).[s] (* words *) let kwdOrInstr s = (Lazy.force kwdInstrTable).[s] (* words *)
let eval = function let eval = function
| '0' -> 0 | '1' -> 1 | '2' -> 2 | '3' -> 3 | '4' -> 4 | '5' -> 5 | '0' -> 0 | '1' -> 1 | '2' -> 2 | '3' -> 3 | '4' -> 4 | '5' -> 5
| '6' -> 6 | '7' -> 7 | '8' -> 8 | '9' -> 9 | '6' -> 6 | '7' -> 7 | '8' -> 8 | '9' -> 9
| 'A' -> 10 | 'B' -> 11 | 'C' -> 12 | 'D' -> 13 | 'E' -> 14 | 'F' -> 15 | 'A' -> 10 | 'B' -> 11 | 'C' -> 12 | 'D' -> 13 | 'E' -> 14 | 'F' -> 15
| 'a' -> 10 | 'b' -> 11 | 'c' -> 12 | 'd' -> 13 | 'e' -> 14 | 'f' -> 15 | 'a' -> 10 | 'b' -> 11 | 'c' -> 12 | 'd' -> 13 | 'e' -> 14 | 'f' -> 15
| _ -> failwith "bad hexbyte" | _ -> failwith "bad hexbyte"
let kwdOrInstrOrId s = if (Lazy.force kwdInstrTable).ContainsKey s then kwdOrIn str s else VAL_ID s let kwdOrInstrOrId s = match (Lazy.force kwdInstrTable).TryFind s with Some v -> v | _ -> VAL_ID s
} }
// -------------------------------------------------------------------- // --------------------------------------------------------------------
// The Rules // The Rules
// -------------------------------------------------------------------- // --------------------------------------------------------------------
rule token = parse rule token = parse
| "," { COMMA } | "," { COMMA }
| "." { DOT } | "." { DOT }
| "*" { STAR } | "*" { STAR }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)