summaryrefslogtreecommitdiff
path: root/Source/Core/Parser.cs
diff options
context:
space:
mode:
authorGravatar Dietrich <dgeisler50@gmail.com>2015-04-27 04:11:19 -0600
committerGravatar Dietrich <dgeisler50@gmail.com>2015-04-27 04:11:19 -0600
commit45a783affd5b5c070e56850b1ba662bb3f3d7a21 (patch)
tree13a4bea942eb4d0b9dcc6784f4c29adcc2e5e9bb /Source/Core/Parser.cs
parent7b670a303c25dffb9b51ec74783a4b5fc995f432 (diff)
Finished up Parser modifications
Diffstat (limited to 'Source/Core/Parser.cs')
-rw-r--r--Source/Core/Parser.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/Parser.cs b/Source/Core/Parser.cs
index a41597f3..b333f654 100644
--- a/Source/Core/Parser.cs
+++ b/Source/Core/Parser.cs
@@ -24,6 +24,7 @@ public class Parser {
public const int _string = 4;
public const int _decimal = 5;
public const int _float = 6;
+ public const int _fp = 97;
public const int maxT = 98;
const bool T = true;
@@ -170,7 +171,7 @@ private class BvBounds : Expr {
for (;;) {
t = la;
la = scanner.Scan();
- if (la.kind <= maxT) { ++errDist; break; } //TODO: should modify float to have value < maxT...
+ if (la.kind <= maxT) { ++errDist; break; }
la = t;
}
@@ -2115,7 +2116,7 @@ out QKeyValue kv, out Trigger trig, out Expr/*!*/ body) {
Expect(0);
}
- static readonly bool[,]/*!*/ set = { //grid is 17 x 98
+ static readonly bool[,]/*!*/ set = { //grid is 17 x 100
{T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x},
{x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,x, x,T,T,x, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x},
{x,T,x,x, x,x,x,x, x,T,x,x, x,x,T,T, T,T,x,T, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x},