summaryrefslogtreecommitdiff
path: root/Source/Core/Scanner.cs
diff options
context:
space:
mode:
authorGravatar Checkmate50 <dgeisler50@gmail.com>2016-05-31 12:08:07 -0600
committerGravatar Checkmate50 <dgeisler50@gmail.com>2016-05-31 12:08:07 -0600
commit6f7fc01346c0ebe9072e61ace2cfede4fcedea09 (patch)
tree6d55790d0180d5e8cf1a79ea03ad6ce3b2019f17 /Source/Core/Scanner.cs
parent51b7e8146f413b83a412572fcc9e3a1a8b302b79 (diff)
Initial round of testing works with new syntax. Fixed an error where floating points could not be given as a function argument
Diffstat (limited to 'Source/Core/Scanner.cs')
-rw-r--r--Source/Core/Scanner.cs2
1 files changed, 1 insertions, 1 deletions
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;