From 6f7fc01346c0ebe9072e61ace2cfede4fcedea09 Mon Sep 17 00:00:00 2001 From: Checkmate50 Date: Tue, 31 May 2016 12:08:07 -0600 Subject: Initial round of testing works with new syntax. Fixed an error where floating points could not be given as a function argument --- Source/Core/Scanner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Scanner.cs') diff --git a/Source/Core/Scanner.cs b/Source/Core/Scanner.cs index bc294aba..ca7db1e1 100644 --- a/Source/Core/Scanner.cs +++ b/Source/Core/Scanner.cs @@ -509,7 +509,7 @@ public class Scanner { case "real": t.kind = 15; break; case "bool": t.kind = 16; break; case "fp": t.kind = 97; break; - case "float": t.kind = 98; break; + case "float": case "float16": case "float32": case "float64": case "float128": t.kind = 98; break; case "const": t.kind = 21; break; case "unique": t.kind = 22; break; case "extends": t.kind = 23; break; -- cgit v1.2.3