Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornosami <jasonimison@gmail.com>2019-08-27 16:01:44 +0300
committernosami <jasonimison@gmail.com>2019-08-29 18:59:08 +0300
commit51ee68db968418c5eb807955072cc27fde6c24dc (patch)
treef9d8e5e9b26779f9503416df824772e33ebd9ef8 /main/external/fsharpbinding
parent4448112689158a0c60ea8d9bd609aa0e8e5287c4 (diff)
Reverse line tokens
Diffstat (limited to 'main/external/fsharpbinding')
-rw-r--r--main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs b/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs
index 5caeafaa6b..e3950777e0 100644
--- a/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs
+++ b/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs
@@ -155,7 +155,7 @@ module Lexer =
match tokenizer.ScanToken(state) with
| Some tok, state ->
parseLine tokenizer (tok::tokens) state
- | None, state -> tokens, state
+ | None, state -> tokens |> List.rev, state
let rec parseLines (sourceTok:FSharpSourceTokenizer) tokens state lines filename defines =
[ match lines with