From db92daf4bfcfd1d53494b4fdea971dde476749d8 Mon Sep 17 00:00:00 2001
From: jespergravgaard
Date: Wed, 8 Apr 2020 23:40:27 +0200
Subject: [PATCH] Added initial support for function declarations without a
body. #196
---
.../model/statements/StatementSource.java | 18 +-
.../kickc/model/symbols/Variable.java | 2 +-
.../model/types/SymbolTypeConversion.java | 17 +
.../dk/camelot64/kickc/parser/KickCParser.g4 | 6 +-
.../camelot64/kickc/parser/KickCParser.interp | 3 +-
.../camelot64/kickc/parser/KickCParser.java | 2127 +++++++++--------
.../kickc/parser/KickCParserBaseListener.java | 12 +
.../kickc/parser/KickCParserBaseVisitor.java | 7 +
.../kickc/parser/KickCParserListener.java | 10 +
.../kickc/parser/KickCParserVisitor.java | 6 +
.../Pass0GenerateStatementSequence.java | 83 +-
.../dk/camelot64/kickc/test/TestPrograms.java | 5 +
src/test/kc/cstyle-decl-0.kc | 26 +
src/test/ref/cstyle-decl-0.asm | 34 +
src/test/ref/cstyle-decl-0.cfg | 39 +
src/test/ref/cstyle-decl-0.log | 557 +++++
src/test/ref/cstyle-decl-0.sym | 28 +
17 files changed, 1914 insertions(+), 1066 deletions(-)
create mode 100644 src/test/kc/cstyle-decl-0.kc
create mode 100644 src/test/ref/cstyle-decl-0.asm
create mode 100644 src/test/ref/cstyle-decl-0.cfg
create mode 100644 src/test/ref/cstyle-decl-0.log
create mode 100644 src/test/ref/cstyle-decl-0.sym
diff --git a/src/main/java/dk/camelot64/kickc/model/statements/StatementSource.java b/src/main/java/dk/camelot64/kickc/model/statements/StatementSource.java
index adffa8e7d..aef754429 100644
--- a/src/main/java/dk/camelot64/kickc/model/statements/StatementSource.java
+++ b/src/main/java/dk/camelot64/kickc/model/statements/StatementSource.java
@@ -137,15 +137,23 @@ public class StatementSource implements Serializable {
return new StatementSource(nodeStart, nodeStop);
}
- public static StatementSource procedureEnd(KickCParser.DeclFunctionContext ctx) {
- ParseTree nodeStart = ctx.getChild(ctx.getChildCount() - 1);
- ParseTree nodeStop = ctx;
+ public static StatementSource procedureDecl(KickCParser.DeclFunctionContext ctx) {
+ ParseTree nodeStart = ctx;
+ ParseTree nodeStop = ctx.getChild(ctx.getChildCount() - 2);
return new StatementSource(nodeStart, nodeStop);
}
public static StatementSource procedureBegin(KickCParser.DeclFunctionContext ctx) {
- ParseTree nodeStart = ctx;
- ParseTree nodeStop = ctx.getChild(ctx.getChildCount() - 4);
+ final KickCParser.DeclFunctionBodyContext bodyCtx = ctx.declFunctionBody();
+ ParseTree nodeStart = bodyCtx;
+ ParseTree nodeStop = bodyCtx.getChild(bodyCtx.getChildCount() - 4);
+ return new StatementSource(nodeStart, nodeStop);
+ }
+
+ public static StatementSource procedureEnd(KickCParser.DeclFunctionContext ctx) {
+ final KickCParser.DeclFunctionBodyContext bodyCtx = ctx.declFunctionBody();
+ ParseTree nodeStart = bodyCtx.getChild(bodyCtx.getChildCount() - 1);
+ ParseTree nodeStop = bodyCtx;
return new StatementSource(nodeStart, nodeStop);
}
diff --git a/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java b/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java
index 615956966..c4443a9d3 100644
--- a/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java
+++ b/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java
@@ -629,7 +629,7 @@ public class Variable implements Symbol {
Variable variable = (Variable) o;
return kind == variable.kind &&
Objects.equals(name, variable.name) &&
- Objects.equals(scope, variable.scope) &&
+ Objects.equals(scope.getRef(), variable.scope.getRef()) &&
Objects.equals(type, variable.type);
}
diff --git a/src/main/java/dk/camelot64/kickc/model/types/SymbolTypeConversion.java b/src/main/java/dk/camelot64/kickc/model/types/SymbolTypeConversion.java
index 43c7c53ca..3a5fafccb 100644
--- a/src/main/java/dk/camelot64/kickc/model/types/SymbolTypeConversion.java
+++ b/src/main/java/dk/camelot64/kickc/model/types/SymbolTypeConversion.java
@@ -3,6 +3,7 @@ package dk.camelot64.kickc.model.types;
import dk.camelot64.kickc.model.CompileError;
import dk.camelot64.kickc.model.ConstantNotLiteral;
import dk.camelot64.kickc.model.statements.Statement;
+import dk.camelot64.kickc.model.symbols.Procedure;
import dk.camelot64.kickc.model.symbols.ProgramScope;
import dk.camelot64.kickc.model.values.ConstantInteger;
import dk.camelot64.kickc.model.values.ConstantLiteral;
@@ -247,5 +248,21 @@ public class SymbolTypeConversion {
return true;
}
+ /**
+ * Checks that two procedure declarations are a proper match
+ * @param first The first procedure declaration
+ * @param second The first procedure declaration
+ * @return true if they match types. False otherwise
+ */
+ public static boolean procedureDeclarationMatch(Procedure first, Procedure second) {
+ if(!first.getFullName().equals(second.getFullName()))
+ return false;
+ if(!first.getReturnType().equals(second.getReturnType()))
+ return false;
+ if(!first.getParameters().equals(second.getParameters()))
+ return false;
+ return true;
+ }
+
}
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4 b/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4
index e57cdb92b..dfa998a80 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4
@@ -128,7 +128,11 @@ enumMember
;
declFunction
- : declType declPointer* NAME PAR_BEGIN parameterListDecl? PAR_END CURLY_BEGIN stmtSeq? CURLY_END
+ : declType declPointer* NAME PAR_BEGIN parameterListDecl? PAR_END (declFunctionBody | ';' )
+ ;
+
+declFunctionBody
+ : CURLY_BEGIN stmtSeq? CURLY_END
;
parameterListDecl
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.interp b/src/main/java/dk/camelot64/kickc/parser/KickCParser.interp
index fc23de2b5..357c0cd0e 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.interp
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.interp
@@ -336,6 +336,7 @@ enumDef
enumMemberList
enumMember
declFunction
+declFunctionBody
parameterListDecl
parameterDecl
globalDirective
@@ -362,4 +363,4 @@ asmExpr
atn:
-[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 156, 883, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 4, 7, 4, 102, 10, 4, 12, 4, 14, 4, 105, 11, 4, 3, 5, 3, 5, 5, 5, 109, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 115, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 132, 10, 7, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 7, 9, 139, 10, 9, 12, 9, 14, 9, 142, 11, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 7, 9, 149, 10, 9, 12, 9, 14, 9, 152, 11, 9, 3, 9, 7, 9, 155, 10, 9, 12, 9, 14, 9, 158, 11, 9, 3, 10, 3, 10, 3, 10, 7, 10, 163, 10, 10, 12, 10, 14, 10, 166, 11, 10, 3, 10, 3, 10, 7, 10, 170, 10, 10, 12, 10, 14, 10, 173, 11, 10, 3, 10, 3, 10, 3, 11, 3, 11, 7, 11, 179, 10, 11, 12, 11, 14, 11, 182, 11, 11, 3, 11, 3, 11, 5, 11, 186, 10, 11, 3, 11, 3, 11, 7, 11, 190, 10, 11, 12, 11, 14, 11, 193, 11, 11, 3, 11, 3, 11, 5, 11, 197, 10, 11, 3, 12, 7, 12, 200, 10, 12, 12, 12, 14, 12, 203, 11, 12, 3, 12, 3, 12, 7, 12, 207, 10, 12, 12, 12, 14, 12, 210, 11, 12, 3, 13, 3, 13, 7, 13, 214, 10, 13, 12, 13, 14, 13, 217, 11, 13, 3, 14, 3, 14, 5, 14, 221, 10, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 5, 15, 233, 10, 15, 3, 15, 7, 15, 236, 10, 15, 12, 15, 14, 15, 239, 11, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 5, 16, 249, 10, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 5, 16, 256, 10, 16, 3, 16, 3, 16, 3, 16, 5, 16, 261, 10, 16, 3, 16, 3, 16, 3, 16, 3, 16, 7, 16, 267, 10, 16, 12, 16, 14, 16, 270, 11, 16, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 5, 18, 277, 10, 18, 3, 18, 3, 18, 6, 18, 281, 10, 18, 13, 18, 14, 18, 282, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 5, 21, 295, 10, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 7, 22, 307, 10, 22, 12, 22, 14, 22, 310, 11, 22, 3, 23, 3, 23, 3, 23, 5, 23, 315, 10, 23, 3, 24, 3, 24, 7, 24, 319, 10, 24, 12, 24, 14, 24, 322, 11, 24, 3, 24, 3, 24, 3, 24, 5, 24, 327, 10, 24, 3, 24, 3, 24, 3, 24, 5, 24, 332, 10, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 7, 25, 339, 10, 25, 12, 25, 14, 25, 342, 11, 25, 3, 26, 3, 26, 7, 26, 346, 10, 26, 12, 26, 14, 26, 349, 11, 26, 3, 26, 3, 26, 3, 26, 5, 26, 354, 10, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 7, 27, 363, 10, 27, 12, 27, 14, 27, 366, 11, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 7, 27, 424, 10, 27, 12, 27, 14, 27, 427, 11, 27, 3, 27, 5, 27, 430, 10, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 5, 28, 441, 10, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 5, 28, 460, 10, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 7, 28, 467, 10, 28, 12, 28, 14, 28, 470, 11, 28, 3, 28, 3, 28, 5, 28, 474, 10, 28, 3, 29, 6, 29, 477, 10, 29, 13, 29, 14, 29, 478, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 486, 10, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 499, 10, 30, 3, 30, 7, 30, 502, 10, 30, 12, 30, 14, 30, 505, 11, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 7, 30, 514, 10, 30, 12, 30, 14, 30, 517, 11, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 7, 30, 528, 10, 30, 12, 30, 14, 30, 531, 11, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 549, 10, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 558, 10, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 565, 10, 30, 3, 31, 6, 31, 568, 10, 31, 13, 31, 14, 31, 569, 3, 31, 3, 31, 3, 31, 5, 31, 575, 10, 31, 5, 31, 577, 10, 31, 3, 32, 3, 32, 3, 32, 3, 32, 5, 32, 583, 10, 32, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 590, 10, 33, 3, 33, 3, 33, 7, 33, 594, 10, 33, 12, 33, 14, 33, 597, 11, 33, 5, 33, 599, 10, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 607, 10, 33, 3, 34, 5, 34, 610, 10, 34, 3, 34, 5, 34, 613, 10, 34, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 7, 35, 621, 10, 35, 12, 35, 14, 35, 624, 11, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 5, 36, 635, 10, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 5, 36, 643, 10, 36, 3, 36, 3, 36, 3, 36, 3, 36, 5, 36, 649, 10, 36, 3, 36, 3, 36, 5, 36, 653, 10, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 7, 36, 672, 10, 36, 12, 36, 14, 36, 675, 11, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 6, 36, 682, 10, 36, 13, 36, 14, 36, 683, 3, 36, 3, 36, 5, 36, 688, 10, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 5, 36, 738, 10, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 7, 36, 748, 10, 36, 12, 36, 14, 36, 751, 11, 36, 3, 37, 3, 37, 3, 37, 7, 37, 756, 10, 37, 12, 37, 14, 37, 759, 11, 37, 3, 38, 3, 38, 5, 38, 763, 10, 38, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 3, 39, 7, 39, 771, 10, 39, 12, 39, 14, 39, 774, 11, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 5, 40, 791, 10, 40, 5, 40, 793, 10, 40, 3, 41, 7, 41, 796, 10, 41, 12, 41, 14, 41, 799, 11, 41, 3, 42, 3, 42, 3, 42, 5, 42, 804, 10, 42, 3, 43, 3, 43, 3, 43, 3, 43, 5, 43, 810, 10, 43, 3, 44, 3, 44, 5, 44, 814, 10, 44, 3, 45, 3, 45, 3, 45, 3, 45, 7, 45, 820, 10, 45, 12, 45, 14, 45, 823, 11, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 5, 46, 848, 10, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 5, 47, 864, 10, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 7, 47, 878, 10, 47, 12, 47, 14, 47, 881, 11, 47, 3, 47, 2, 9, 16, 28, 30, 42, 68, 70, 92, 48, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 2, 13, 3, 2, 22, 23, 5, 2, 17, 18, 24, 25, 89, 89, 4, 2, 32, 32, 35, 35, 3, 2, 28, 29, 3, 2, 19, 21, 3, 2, 17, 18, 3, 2, 30, 35, 3, 2, 133, 136, 3, 2, 131, 132, 3, 2, 137, 138, 3, 2, 133, 134, 2, 1011, 2, 94, 3, 2, 2, 2, 4, 97, 3, 2, 2, 2, 6, 103, 3, 2, 2, 2, 8, 108, 3, 2, 2, 2, 10, 114, 3, 2, 2, 2, 12, 131, 3, 2, 2, 2, 14, 133, 3, 2, 2, 2, 16, 136, 3, 2, 2, 2, 18, 159, 3, 2, 2, 2, 20, 196, 3, 2, 2, 2, 22, 201, 3, 2, 2, 2, 24, 211, 3, 2, 2, 2, 26, 218, 3, 2, 2, 2, 28, 224, 3, 2, 2, 2, 30, 255, 3, 2, 2, 2, 32, 271, 3, 2, 2, 2, 34, 274, 3, 2, 2, 2, 36, 286, 3, 2, 2, 2, 38, 289, 3, 2, 2, 2, 40, 292, 3, 2, 2, 2, 42, 300, 3, 2, 2, 2, 44, 311, 3, 2, 2, 2, 46, 316, 3, 2, 2, 2, 48, 335, 3, 2, 2, 2, 50, 353, 3, 2, 2, 2, 52, 429, 3, 2, 2, 2, 54, 473, 3, 2, 2, 2, 56, 476, 3, 2, 2, 2, 58, 564, 3, 2, 2, 2, 60, 567, 3, 2, 2, 2, 62, 578, 3, 2, 2, 2, 64, 606, 3, 2, 2, 2, 66, 612, 3, 2, 2, 2, 68, 614, 3, 2, 2, 2, 70, 687, 3, 2, 2, 2, 72, 752, 3, 2, 2, 2, 74, 760, 3, 2, 2, 2, 76, 766, 3, 2, 2, 2, 78, 792, 3, 2, 2, 2, 80, 797, 3, 2, 2, 2, 82, 803, 3, 2, 2, 2, 84, 809, 3, 2, 2, 2, 86, 811, 3, 2, 2, 2, 88, 815, 3, 2, 2, 2, 90, 847, 3, 2, 2, 2, 92, 863, 3, 2, 2, 2, 94, 95, 5, 6, 4, 2, 95, 96, 7, 2, 2, 3, 96, 3, 3, 2, 2, 2, 97, 98, 5, 80, 41, 2, 98, 99, 7, 2, 2, 3, 99, 5, 3, 2, 2, 2, 100, 102, 5, 8, 5, 2, 101, 100, 3, 2, 2, 2, 102, 105, 3, 2, 2, 2, 103, 101, 3, 2, 2, 2, 103, 104, 3, 2, 2, 2, 104, 7, 3, 2, 2, 2, 105, 103, 3, 2, 2, 2, 106, 109, 5, 12, 7, 2, 107, 109, 5, 10, 6, 2, 108, 106, 3, 2, 2, 2, 108, 107, 3, 2, 2, 2, 109, 9, 3, 2, 2, 2, 110, 111, 7, 96, 2, 2, 111, 115, 7, 94, 2, 2, 112, 113, 7, 97, 2, 2, 113, 115, 7, 94, 2, 2, 114, 110, 3, 2, 2, 2, 114, 112, 3, 2, 2, 2, 115, 11, 3, 2, 2, 2, 116, 117, 5, 14, 8, 2, 117, 118, 7, 10, 2, 2, 118, 132, 3, 2, 2, 2, 119, 120, 5, 34, 18, 2, 120, 121, 7, 10, 2, 2, 121, 132, 3, 2, 2, 2, 122, 123, 5, 40, 21, 2, 123, 124, 7, 10, 2, 2, 124, 132, 3, 2, 2, 2, 125, 132, 5, 46, 24, 2, 126, 132, 5, 74, 38, 2, 127, 132, 5, 52, 27, 2, 128, 129, 5, 18, 10, 2, 129, 130, 7, 10, 2, 2, 130, 132, 3, 2, 2, 2, 131, 116, 3, 2, 2, 2, 131, 119, 3, 2, 2, 2, 131, 122, 3, 2, 2, 2, 131, 125, 3, 2, 2, 2, 131, 126, 3, 2, 2, 2, 131, 127, 3, 2, 2, 2, 131, 128, 3, 2, 2, 2, 132, 13, 3, 2, 2, 2, 133, 134, 5, 22, 12, 2, 134, 135, 5, 16, 9, 2, 135, 15, 3, 2, 2, 2, 136, 140, 8, 9, 1, 2, 137, 139, 5, 24, 13, 2, 138, 137, 3, 2, 2, 2, 139, 142, 3, 2, 2, 2, 140, 138, 3, 2, 2, 2, 140, 141, 3, 2, 2, 2, 141, 143, 3, 2, 2, 2, 142, 140, 3, 2, 2, 2, 143, 144, 5, 20, 11, 2, 144, 156, 3, 2, 2, 2, 145, 146, 12, 3, 2, 2, 146, 150, 7, 12, 2, 2, 147, 149, 5, 24, 13, 2, 148, 147, 3, 2, 2, 2, 149, 152, 3, 2, 2, 2, 150, 148, 3, 2, 2, 2, 150, 151, 3, 2, 2, 2, 151, 153, 3, 2, 2, 2, 152, 150, 3, 2, 2, 2, 153, 155, 5, 20, 11, 2, 154, 145, 3, 2, 2, 2, 155, 158, 3, 2, 2, 2, 156, 154, 3, 2, 2, 2, 156, 157, 3, 2, 2, 2, 157, 17, 3, 2, 2, 2, 158, 156, 3, 2, 2, 2, 159, 160, 7, 40, 2, 2, 160, 164, 5, 22, 12, 2, 161, 163, 5, 24, 13, 2, 162, 161, 3, 2, 2, 2, 163, 166, 3, 2, 2, 2, 164, 162, 3, 2, 2, 2, 164, 165, 3, 2, 2, 2, 165, 167, 3, 2, 2, 2, 166, 164, 3, 2, 2, 2, 167, 171, 7, 117, 2, 2, 168, 170, 5, 26, 14, 2, 169, 168, 3, 2, 2, 2, 170, 173, 3, 2, 2, 2, 171, 169, 3, 2, 2, 2, 171, 172, 3, 2, 2, 2, 172, 174, 3, 2, 2, 2, 173, 171, 3, 2, 2, 2, 174, 175, 8, 10, 1, 2, 175, 19, 3, 2, 2, 2, 176, 180, 7, 117, 2, 2, 177, 179, 5, 26, 14, 2, 178, 177, 3, 2, 2, 2, 179, 182, 3, 2, 2, 2, 180, 178, 3, 2, 2, 2, 180, 181, 3, 2, 2, 2, 181, 185, 3, 2, 2, 2, 182, 180, 3, 2, 2, 2, 183, 184, 7, 38, 2, 2, 184, 186, 5, 70, 36, 2, 185, 183, 3, 2, 2, 2, 185, 186, 3, 2, 2, 2, 186, 197, 3, 2, 2, 2, 187, 191, 7, 117, 2, 2, 188, 190, 5, 26, 14, 2, 189, 188, 3, 2, 2, 2, 190, 193, 3, 2, 2, 2, 191, 189, 3, 2, 2, 2, 191, 192, 3, 2, 2, 2, 192, 194, 3, 2, 2, 2, 193, 191, 3, 2, 2, 2, 194, 195, 7, 38, 2, 2, 195, 197, 5, 74, 38, 2, 196, 176, 3, 2, 2, 2, 196, 187, 3, 2, 2, 2, 197, 21, 3, 2, 2, 2, 198, 200, 5, 54, 28, 2, 199, 198, 3, 2, 2, 2, 200, 203, 3, 2, 2, 2, 201, 199, 3, 2, 2, 2, 201, 202, 3, 2, 2, 2, 202, 204, 3, 2, 2, 2, 203, 201, 3, 2, 2, 2, 204, 208, 5, 30, 16, 2, 205, 207, 5, 54, 28, 2, 206, 205, 3, 2, 2, 2, 207, 210, 3, 2, 2, 2, 208, 206, 3, 2, 2, 2, 208, 209, 3, 2, 2, 2, 209, 23, 3, 2, 2, 2, 210, 208, 3, 2, 2, 2, 211, 215, 7, 19, 2, 2, 212, 214, 5, 54, 28, 2, 213, 212, 3, 2, 2, 2, 214, 217, 3, 2, 2, 2, 215, 213, 3, 2, 2, 2, 215, 216, 3, 2, 2, 2, 216, 25, 3, 2, 2, 2, 217, 215, 3, 2, 2, 2, 218, 220, 7, 6, 2, 2, 219, 221, 5, 70, 36, 2, 220, 219, 3, 2, 2, 2, 220, 221, 3, 2, 2, 2, 221, 222, 3, 2, 2, 2, 222, 223, 7, 7, 2, 2, 223, 27, 3, 2, 2, 2, 224, 225, 8, 15, 1, 2, 225, 226, 5, 30, 16, 2, 226, 237, 3, 2, 2, 2, 227, 228, 12, 4, 2, 2, 228, 236, 7, 19, 2, 2, 229, 230, 12, 3, 2, 2, 230, 232, 7, 6, 2, 2, 231, 233, 5, 70, 36, 2, 232, 231, 3, 2, 2, 2, 232, 233, 3, 2, 2, 2, 233, 234, 3, 2, 2, 2, 234, 236, 7, 7, 2, 2, 235, 227, 3, 2, 2, 2, 235, 229, 3, 2, 2, 2, 236, 239, 3, 2, 2, 2, 237, 235, 3, 2, 2, 2, 237, 238, 3, 2, 2, 2, 238, 29, 3, 2, 2, 2, 239, 237, 3, 2, 2, 2, 240, 241, 8, 16, 1, 2, 241, 242, 7, 8, 2, 2, 242, 243, 5, 30, 16, 2, 243, 244, 7, 9, 2, 2, 244, 256, 3, 2, 2, 2, 245, 256, 7, 91, 2, 2, 246, 248, 7, 90, 2, 2, 247, 249, 7, 91, 2, 2, 248, 247, 3, 2, 2, 2, 248, 249, 3, 2, 2, 2, 249, 256, 3, 2, 2, 2, 250, 256, 5, 34, 18, 2, 251, 256, 5, 32, 17, 2, 252, 256, 5, 40, 21, 2, 253, 256, 5, 38, 20, 2, 254, 256, 7, 3, 2, 2, 255, 240, 3, 2, 2, 2, 255, 245, 3, 2, 2, 2, 255, 246, 3, 2, 2, 2, 255, 250, 3, 2, 2, 2, 255, 251, 3, 2, 2, 2, 255, 252, 3, 2, 2, 2, 255, 253, 3, 2, 2, 2, 255, 254, 3, 2, 2, 2, 256, 268, 3, 2, 2, 2, 257, 258, 12, 9, 2, 2, 258, 260, 7, 6, 2, 2, 259, 261, 5, 70, 36, 2, 260, 259, 3, 2, 2, 2, 260, 261, 3, 2, 2, 2, 261, 262, 3, 2, 2, 2, 262, 267, 7, 7, 2, 2, 263, 264, 12, 8, 2, 2, 264, 265, 7, 8, 2, 2, 265, 267, 7, 9, 2, 2, 266, 257, 3, 2, 2, 2, 266, 263, 3, 2, 2, 2, 267, 270, 3, 2, 2, 2, 268, 266, 3, 2, 2, 2, 268, 269, 3, 2, 2, 2, 269, 31, 3, 2, 2, 2, 270, 268, 3, 2, 2, 2, 271, 272, 7, 78, 2, 2, 272, 273, 7, 117, 2, 2, 273, 33, 3, 2, 2, 2, 274, 276, 7, 78, 2, 2, 275, 277, 7, 117, 2, 2, 276, 275, 3, 2, 2, 2, 276, 277, 3, 2, 2, 2, 277, 278, 3, 2, 2, 2, 278, 280, 7, 4, 2, 2, 279, 281, 5, 36, 19, 2, 280, 279, 3, 2, 2, 2, 281, 282, 3, 2, 2, 2, 282, 280, 3, 2, 2, 2, 282, 283, 3, 2, 2, 2, 283, 284, 3, 2, 2, 2, 284, 285, 7, 5, 2, 2, 285, 35, 3, 2, 2, 2, 286, 287, 5, 14, 8, 2, 287, 288, 7, 10, 2, 2, 288, 37, 3, 2, 2, 2, 289, 290, 7, 79, 2, 2, 290, 291, 7, 117, 2, 2, 291, 39, 3, 2, 2, 2, 292, 294, 7, 79, 2, 2, 293, 295, 7, 117, 2, 2, 294, 293, 3, 2, 2, 2, 294, 295, 3, 2, 2, 2, 295, 296, 3, 2, 2, 2, 296, 297, 7, 4, 2, 2, 297, 298, 5, 42, 22, 2, 298, 299, 7, 5, 2, 2, 299, 41, 3, 2, 2, 2, 300, 301, 8, 22, 1, 2, 301, 302, 5, 44, 23, 2, 302, 308, 3, 2, 2, 2, 303, 304, 12, 3, 2, 2, 304, 305, 7, 12, 2, 2, 305, 307, 5, 44, 23, 2, 306, 303, 3, 2, 2, 2, 307, 310, 3, 2, 2, 2, 308, 306, 3, 2, 2, 2, 308, 309, 3, 2, 2, 2, 309, 43, 3, 2, 2, 2, 310, 308, 3, 2, 2, 2, 311, 314, 7, 117, 2, 2, 312, 313, 7, 38, 2, 2, 313, 315, 5, 70, 36, 2, 314, 312, 3, 2, 2, 2, 314, 315, 3, 2, 2, 2, 315, 45, 3, 2, 2, 2, 316, 320, 5, 22, 12, 2, 317, 319, 5, 24, 13, 2, 318, 317, 3, 2, 2, 2, 319, 322, 3, 2, 2, 2, 320, 318, 3, 2, 2, 2, 320, 321, 3, 2, 2, 2, 321, 323, 3, 2, 2, 2, 322, 320, 3, 2, 2, 2, 323, 324, 7, 117, 2, 2, 324, 326, 7, 8, 2, 2, 325, 327, 5, 48, 25, 2, 326, 325, 3, 2, 2, 2, 326, 327, 3, 2, 2, 2, 327, 328, 3, 2, 2, 2, 328, 329, 7, 9, 2, 2, 329, 331, 7, 4, 2, 2, 330, 332, 5, 56, 29, 2, 331, 330, 3, 2, 2, 2, 331, 332, 3, 2, 2, 2, 332, 333, 3, 2, 2, 2, 333, 334, 7, 5, 2, 2, 334, 47, 3, 2, 2, 2, 335, 340, 5, 50, 26, 2, 336, 337, 7, 12, 2, 2, 337, 339, 5, 50, 26, 2, 338, 336, 3, 2, 2, 2, 339, 342, 3, 2, 2, 2, 340, 338, 3, 2, 2, 2, 340, 341, 3, 2, 2, 2, 341, 49, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 343, 347, 5, 22, 12, 2, 344, 346, 5, 24, 13, 2, 345, 344, 3, 2, 2, 2, 346, 349, 3, 2, 2, 2, 347, 345, 3, 2, 2, 2, 347, 348, 3, 2, 2, 2, 348, 350, 3, 2, 2, 2, 349, 347, 3, 2, 2, 2, 350, 351, 7, 117, 2, 2, 351, 354, 3, 2, 2, 2, 352, 354, 7, 91, 2, 2, 353, 343, 3, 2, 2, 2, 353, 352, 3, 2, 2, 2, 354, 51, 3, 2, 2, 2, 355, 356, 7, 98, 2, 2, 356, 357, 7, 41, 2, 2, 357, 358, 3, 2, 2, 2, 358, 359, 7, 8, 2, 2, 359, 364, 7, 108, 2, 2, 360, 361, 7, 12, 2, 2, 361, 363, 7, 108, 2, 2, 362, 360, 3, 2, 2, 2, 363, 366, 3, 2, 2, 2, 364, 362, 3, 2, 2, 2, 364, 365, 3, 2, 2, 2, 365, 367, 3, 2, 2, 2, 366, 364, 3, 2, 2, 2, 367, 430, 7, 9, 2, 2, 368, 369, 7, 98, 2, 2, 369, 370, 7, 42, 2, 2, 370, 371, 3, 2, 2, 2, 371, 372, 7, 8, 2, 2, 372, 373, 7, 108, 2, 2, 373, 430, 7, 9, 2, 2, 374, 375, 7, 98, 2, 2, 375, 376, 7, 43, 2, 2, 376, 377, 3, 2, 2, 2, 377, 378, 7, 8, 2, 2, 378, 379, 7, 117, 2, 2, 379, 430, 7, 9, 2, 2, 380, 381, 7, 98, 2, 2, 381, 382, 7, 45, 2, 2, 382, 383, 3, 2, 2, 2, 383, 384, 7, 8, 2, 2, 384, 385, 7, 117, 2, 2, 385, 430, 7, 9, 2, 2, 386, 387, 7, 98, 2, 2, 387, 388, 7, 44, 2, 2, 388, 389, 3, 2, 2, 2, 389, 390, 7, 8, 2, 2, 390, 391, 7, 94, 2, 2, 391, 430, 7, 9, 2, 2, 392, 393, 7, 98, 2, 2, 393, 394, 7, 46, 2, 2, 394, 395, 3, 2, 2, 2, 395, 396, 7, 8, 2, 2, 396, 397, 7, 117, 2, 2, 397, 430, 7, 9, 2, 2, 398, 399, 7, 98, 2, 2, 399, 400, 7, 47, 2, 2, 400, 401, 3, 2, 2, 2, 401, 402, 7, 8, 2, 2, 402, 403, 7, 117, 2, 2, 403, 430, 7, 9, 2, 2, 404, 405, 7, 98, 2, 2, 405, 406, 7, 48, 2, 2, 406, 407, 3, 2, 2, 2, 407, 408, 7, 8, 2, 2, 408, 409, 7, 117, 2, 2, 409, 430, 7, 9, 2, 2, 410, 411, 7, 98, 2, 2, 411, 412, 7, 63, 2, 2, 412, 413, 3, 2, 2, 2, 413, 414, 7, 8, 2, 2, 414, 415, 7, 64, 2, 2, 415, 430, 7, 9, 2, 2, 416, 417, 7, 98, 2, 2, 417, 418, 7, 65, 2, 2, 418, 419, 3, 2, 2, 2, 419, 420, 7, 8, 2, 2, 420, 425, 7, 117, 2, 2, 421, 422, 7, 12, 2, 2, 422, 424, 7, 117, 2, 2, 423, 421, 3, 2, 2, 2, 424, 427, 3, 2, 2, 2, 425, 423, 3, 2, 2, 2, 425, 426, 3, 2, 2, 2, 426, 428, 3, 2, 2, 2, 427, 425, 3, 2, 2, 2, 428, 430, 7, 9, 2, 2, 429, 355, 3, 2, 2, 2, 429, 368, 3, 2, 2, 2, 429, 374, 3, 2, 2, 2, 429, 380, 3, 2, 2, 2, 429, 386, 3, 2, 2, 2, 429, 392, 3, 2, 2, 2, 429, 398, 3, 2, 2, 2, 429, 404, 3, 2, 2, 2, 429, 410, 3, 2, 2, 2, 429, 416, 3, 2, 2, 2, 430, 53, 3, 2, 2, 2, 431, 474, 7, 49, 2, 2, 432, 433, 7, 52, 2, 2, 433, 434, 7, 8, 2, 2, 434, 435, 7, 108, 2, 2, 435, 474, 7, 9, 2, 2, 436, 440, 7, 57, 2, 2, 437, 438, 7, 8, 2, 2, 438, 439, 7, 117, 2, 2, 439, 441, 7, 9, 2, 2, 440, 437, 3, 2, 2, 2, 440, 441, 3, 2, 2, 2, 441, 474, 3, 2, 2, 2, 442, 474, 7, 59, 2, 2, 443, 474, 7, 60, 2, 2, 444, 445, 7, 58, 2, 2, 445, 446, 7, 8, 2, 2, 446, 447, 7, 108, 2, 2, 447, 474, 7, 9, 2, 2, 448, 474, 7, 54, 2, 2, 449, 474, 7, 55, 2, 2, 450, 474, 7, 61, 2, 2, 451, 474, 7, 62, 2, 2, 452, 474, 7, 50, 2, 2, 453, 474, 7, 51, 2, 2, 454, 474, 7, 53, 2, 2, 455, 459, 7, 56, 2, 2, 456, 457, 7, 8, 2, 2, 457, 458, 7, 117, 2, 2, 458, 460, 7, 9, 2, 2, 459, 456, 3, 2, 2, 2, 459, 460, 3, 2, 2, 2, 460, 474, 3, 2, 2, 2, 461, 462, 7, 41, 2, 2, 462, 463, 7, 8, 2, 2, 463, 468, 7, 108, 2, 2, 464, 465, 7, 12, 2, 2, 465, 467, 7, 108, 2, 2, 466, 464, 3, 2, 2, 2, 467, 470, 3, 2, 2, 2, 468, 466, 3, 2, 2, 2, 468, 469, 3, 2, 2, 2, 469, 471, 3, 2, 2, 2, 470, 468, 3, 2, 2, 2, 471, 474, 7, 9, 2, 2, 472, 474, 7, 64, 2, 2, 473, 431, 3, 2, 2, 2, 473, 432, 3, 2, 2, 2, 473, 436, 3, 2, 2, 2, 473, 442, 3, 2, 2, 2, 473, 443, 3, 2, 2, 2, 473, 444, 3, 2, 2, 2, 473, 448, 3, 2, 2, 2, 473, 449, 3, 2, 2, 2, 473, 450, 3, 2, 2, 2, 473, 451, 3, 2, 2, 2, 473, 452, 3, 2, 2, 2, 473, 453, 3, 2, 2, 2, 473, 454, 3, 2, 2, 2, 473, 455, 3, 2, 2, 2, 473, 461, 3, 2, 2, 2, 473, 472, 3, 2, 2, 2, 474, 55, 3, 2, 2, 2, 475, 477, 5, 58, 30, 2, 476, 475, 3, 2, 2, 2, 477, 478, 3, 2, 2, 2, 478, 476, 3, 2, 2, 2, 478, 479, 3, 2, 2, 2, 479, 57, 3, 2, 2, 2, 480, 481, 5, 14, 8, 2, 481, 482, 7, 10, 2, 2, 482, 565, 3, 2, 2, 2, 483, 485, 7, 4, 2, 2, 484, 486, 5, 56, 29, 2, 485, 484, 3, 2, 2, 2, 485, 486, 3, 2, 2, 2, 486, 487, 3, 2, 2, 2, 487, 565, 7, 5, 2, 2, 488, 489, 5, 68, 35, 2, 489, 490, 7, 10, 2, 2, 490, 565, 3, 2, 2, 2, 491, 492, 7, 66, 2, 2, 492, 493, 7, 8, 2, 2, 493, 494, 5, 68, 35, 2, 494, 495, 7, 9, 2, 2, 495, 498, 5, 58, 30, 2, 496, 497, 7, 67, 2, 2, 497, 499, 5, 58, 30, 2, 498, 496, 3, 2, 2, 2, 498, 499, 3, 2, 2, 2, 499, 565, 3, 2, 2, 2, 500, 502, 5, 54, 28, 2, 501, 500, 3, 2, 2, 2, 502, 505, 3, 2, 2, 2, 503, 501, 3, 2, 2, 2, 503, 504, 3, 2, 2, 2, 504, 506, 3, 2, 2, 2, 505, 503, 3, 2, 2, 2, 506, 507, 7, 68, 2, 2, 507, 508, 7, 8, 2, 2, 508, 509, 5, 68, 35, 2, 509, 510, 7, 9, 2, 2, 510, 511, 5, 58, 30, 2, 511, 565, 3, 2, 2, 2, 512, 514, 5, 54, 28, 2, 513, 512, 3, 2, 2, 2, 514, 517, 3, 2, 2, 2, 515, 513, 3, 2, 2, 2, 515, 516, 3, 2, 2, 2, 516, 518, 3, 2, 2, 2, 517, 515, 3, 2, 2, 2, 518, 519, 7, 69, 2, 2, 519, 520, 5, 58, 30, 2, 520, 521, 7, 68, 2, 2, 521, 522, 7, 8, 2, 2, 522, 523, 5, 68, 35, 2, 523, 524, 7, 9, 2, 2, 524, 525, 7, 10, 2, 2, 525, 565, 3, 2, 2, 2, 526, 528, 5, 54, 28, 2, 527, 526, 3, 2, 2, 2, 528, 531, 3, 2, 2, 2, 529, 527, 3, 2, 2, 2, 529, 530, 3, 2, 2, 2, 530, 532, 3, 2, 2, 2, 531, 529, 3, 2, 2, 2, 532, 533, 7, 70, 2, 2, 533, 534, 7, 8, 2, 2, 534, 535, 5, 64, 33, 2, 535, 536, 7, 9, 2, 2, 536, 537, 5, 58, 30, 2, 537, 565, 3, 2, 2, 2, 538, 539, 7, 71, 2, 2, 539, 540, 7, 8, 2, 2, 540, 541, 5, 68, 35, 2, 541, 542, 7, 9, 2, 2, 542, 543, 7, 4, 2, 2, 543, 544, 5, 60, 31, 2, 544, 545, 7, 5, 2, 2, 545, 565, 3, 2, 2, 2, 546, 548, 7, 72, 2, 2, 547, 549, 5, 68, 35, 2, 548, 547, 3, 2, 2, 2, 548, 549, 3, 2, 2, 2, 549, 550, 3, 2, 2, 2, 550, 565, 7, 10, 2, 2, 551, 552, 7, 73, 2, 2, 552, 565, 7, 10, 2, 2, 553, 554, 7, 74, 2, 2, 554, 565, 7, 10, 2, 2, 555, 557, 7, 75, 2, 2, 556, 558, 5, 76, 39, 2, 557, 556, 3, 2, 2, 2, 557, 558, 3, 2, 2, 2, 558, 559, 3, 2, 2, 2, 559, 560, 7, 4, 2, 2, 560, 561, 5, 80, 41, 2, 561, 562, 7, 140, 2, 2, 562, 565, 3, 2, 2, 2, 563, 565, 5, 74, 38, 2, 564, 480, 3, 2, 2, 2, 564, 483, 3, 2, 2, 2, 564, 488, 3, 2, 2, 2, 564, 491, 3, 2, 2, 2, 564, 503, 3, 2, 2, 2, 564, 515, 3, 2, 2, 2, 564, 529, 3, 2, 2, 2, 564, 538, 3, 2, 2, 2, 564, 546, 3, 2, 2, 2, 564, 551, 3, 2, 2, 2, 564, 553, 3, 2, 2, 2, 564, 555, 3, 2, 2, 2, 564, 563, 3, 2, 2, 2, 565, 59, 3, 2, 2, 2, 566, 568, 5, 62, 32, 2, 567, 566, 3, 2, 2, 2, 568, 569, 3, 2, 2, 2, 569, 567, 3, 2, 2, 2, 569, 570, 3, 2, 2, 2, 570, 576, 3, 2, 2, 2, 571, 572, 7, 76, 2, 2, 572, 574, 7, 11, 2, 2, 573, 575, 5, 56, 29, 2, 574, 573, 3, 2, 2, 2, 574, 575, 3, 2, 2, 2, 575, 577, 3, 2, 2, 2, 576, 571, 3, 2, 2, 2, 576, 577, 3, 2, 2, 2, 577, 61, 3, 2, 2, 2, 578, 579, 7, 77, 2, 2, 579, 580, 5, 70, 36, 2, 580, 582, 7, 11, 2, 2, 581, 583, 5, 56, 29, 2, 582, 581, 3, 2, 2, 2, 582, 583, 3, 2, 2, 2, 583, 63, 3, 2, 2, 2, 584, 585, 5, 66, 34, 2, 585, 586, 7, 10, 2, 2, 586, 587, 5, 68, 35, 2, 587, 589, 7, 10, 2, 2, 588, 590, 5, 68, 35, 2, 589, 588, 3, 2, 2, 2, 589, 590, 3, 2, 2, 2, 590, 607, 3, 2, 2, 2, 591, 595, 5, 22, 12, 2, 592, 594, 5, 24, 13, 2, 593, 592, 3, 2, 2, 2, 594, 597, 3, 2, 2, 2, 595, 593, 3, 2, 2, 2, 595, 596, 3, 2, 2, 2, 596, 599, 3, 2, 2, 2, 597, 595, 3, 2, 2, 2, 598, 591, 3, 2, 2, 2, 598, 599, 3, 2, 2, 2, 599, 600, 3, 2, 2, 2, 600, 601, 7, 117, 2, 2, 601, 602, 7, 11, 2, 2, 602, 603, 5, 70, 36, 2, 603, 604, 7, 13, 2, 2, 604, 605, 5, 70, 36, 2, 605, 607, 3, 2, 2, 2, 606, 584, 3, 2, 2, 2, 606, 598, 3, 2, 2, 2, 607, 65, 3, 2, 2, 2, 608, 610, 5, 14, 8, 2, 609, 608, 3, 2, 2, 2, 609, 610, 3, 2, 2, 2, 610, 613, 3, 2, 2, 2, 611, 613, 5, 68, 35, 2, 612, 609, 3, 2, 2, 2, 612, 611, 3, 2, 2, 2, 613, 67, 3, 2, 2, 2, 614, 615, 8, 35, 1, 2, 615, 616, 5, 70, 36, 2, 616, 622, 3, 2, 2, 2, 617, 618, 12, 3, 2, 2, 618, 619, 7, 12, 2, 2, 619, 621, 5, 70, 36, 2, 620, 617, 3, 2, 2, 2, 621, 624, 3, 2, 2, 2, 622, 620, 3, 2, 2, 2, 622, 623, 3, 2, 2, 2, 623, 69, 3, 2, 2, 2, 624, 622, 3, 2, 2, 2, 625, 626, 8, 36, 1, 2, 626, 627, 7, 8, 2, 2, 627, 628, 5, 68, 35, 2, 628, 629, 7, 9, 2, 2, 629, 688, 3, 2, 2, 2, 630, 631, 7, 80, 2, 2, 631, 634, 7, 8, 2, 2, 632, 635, 5, 70, 36, 2, 633, 635, 5, 28, 15, 2, 634, 632, 3, 2, 2, 2, 634, 633, 3, 2, 2, 2, 635, 636, 3, 2, 2, 2, 636, 637, 7, 9, 2, 2, 637, 688, 3, 2, 2, 2, 638, 639, 7, 81, 2, 2, 639, 642, 7, 8, 2, 2, 640, 643, 5, 70, 36, 2, 641, 643, 5, 28, 15, 2, 642, 640, 3, 2, 2, 2, 642, 641, 3, 2, 2, 2, 643, 644, 3, 2, 2, 2, 644, 645, 7, 9, 2, 2, 645, 688, 3, 2, 2, 2, 646, 648, 7, 82, 2, 2, 647, 649, 7, 8, 2, 2, 648, 647, 3, 2, 2, 2, 648, 649, 3, 2, 2, 2, 649, 650, 3, 2, 2, 2, 650, 652, 7, 117, 2, 2, 651, 653, 7, 9, 2, 2, 652, 651, 3, 2, 2, 2, 652, 653, 3, 2, 2, 2, 653, 688, 3, 2, 2, 2, 654, 655, 7, 8, 2, 2, 655, 656, 5, 28, 15, 2, 656, 657, 7, 9, 2, 2, 657, 658, 5, 70, 36, 26, 658, 688, 3, 2, 2, 2, 659, 660, 9, 2, 2, 2, 660, 688, 5, 70, 36, 25, 661, 662, 7, 19, 2, 2, 662, 688, 5, 70, 36, 23, 663, 664, 9, 3, 2, 2, 664, 688, 5, 70, 36, 22, 665, 666, 9, 4, 2, 2, 666, 688, 5, 70, 36, 18, 667, 668, 7, 4, 2, 2, 668, 673, 5, 70, 36, 2, 669, 670, 7, 12, 2, 2, 670, 672, 5, 70, 36, 2, 671, 669, 3, 2, 2, 2, 672, 675, 3, 2, 2, 2, 673, 671, 3, 2, 2, 2, 673, 674, 3, 2, 2, 2, 674, 676, 3, 2, 2, 2, 675, 673, 3, 2, 2, 2, 676, 677, 7, 5, 2, 2, 677, 688, 3, 2, 2, 2, 678, 688, 7, 117, 2, 2, 679, 688, 7, 108, 2, 2, 680, 682, 7, 94, 2, 2, 681, 680, 3, 2, 2, 2, 682, 683, 3, 2, 2, 2, 683, 681, 3, 2, 2, 2, 683, 684, 3, 2, 2, 2, 684, 688, 3, 2, 2, 2, 685, 688, 7, 95, 2, 2, 686, 688, 7, 92, 2, 2, 687, 625, 3, 2, 2, 2, 687, 630, 3, 2, 2, 2, 687, 638, 3, 2, 2, 2, 687, 646, 3, 2, 2, 2, 687, 654, 3, 2, 2, 2, 687, 659, 3, 2, 2, 2, 687, 661, 3, 2, 2, 2, 687, 663, 3, 2, 2, 2, 687, 665, 3, 2, 2, 2, 687, 667, 3, 2, 2, 2, 687, 678, 3, 2, 2, 2, 687, 679, 3, 2, 2, 2, 687, 681, 3, 2, 2, 2, 687, 685, 3, 2, 2, 2, 687, 686, 3, 2, 2, 2, 688, 749, 3, 2, 2, 2, 689, 690, 12, 21, 2, 2, 690, 691, 9, 5, 2, 2, 691, 748, 5, 70, 36, 22, 692, 693, 12, 20, 2, 2, 693, 694, 9, 6, 2, 2, 694, 748, 5, 70, 36, 21, 695, 696, 12, 19, 2, 2, 696, 697, 9, 7, 2, 2, 697, 748, 5, 70, 36, 20, 698, 699, 12, 17, 2, 2, 699, 700, 9, 8, 2, 2, 700, 748, 5, 70, 36, 18, 701, 702, 12, 16, 2, 2, 702, 703, 7, 24, 2, 2, 703, 748, 5, 70, 36, 17, 704, 705, 12, 15, 2, 2, 705, 706, 7, 26, 2, 2, 706, 748, 5, 70, 36, 16, 707, 708, 12, 14, 2, 2, 708, 709, 7, 27, 2, 2, 709, 748, 5, 70, 36, 15, 710, 711, 12, 13, 2, 2, 711, 712, 7, 36, 2, 2, 712, 748, 5, 70, 36, 14, 713, 714, 12, 12, 2, 2, 714, 715, 7, 37, 2, 2, 715, 748, 5, 70, 36, 13, 716, 717, 12, 11, 2, 2, 717, 718, 7, 14, 2, 2, 718, 719, 5, 70, 36, 2, 719, 720, 7, 11, 2, 2, 720, 721, 5, 70, 36, 12, 721, 748, 3, 2, 2, 2, 722, 723, 12, 10, 2, 2, 723, 724, 7, 38, 2, 2, 724, 748, 5, 70, 36, 10, 725, 726, 12, 9, 2, 2, 726, 727, 7, 39, 2, 2, 727, 748, 5, 70, 36, 9, 728, 729, 12, 33, 2, 2, 729, 730, 7, 15, 2, 2, 730, 748, 7, 117, 2, 2, 731, 732, 12, 32, 2, 2, 732, 733, 7, 16, 2, 2, 733, 748, 7, 117, 2, 2, 734, 735, 12, 31, 2, 2, 735, 737, 7, 8, 2, 2, 736, 738, 5, 72, 37, 2, 737, 736, 3, 2, 2, 2, 737, 738, 3, 2, 2, 2, 738, 739, 3, 2, 2, 2, 739, 748, 7, 9, 2, 2, 740, 741, 12, 27, 2, 2, 741, 742, 7, 6, 2, 2, 742, 743, 5, 68, 35, 2, 743, 744, 7, 7, 2, 2, 744, 748, 3, 2, 2, 2, 745, 746, 12, 24, 2, 2, 746, 748, 9, 2, 2, 2, 747, 689, 3, 2, 2, 2, 747, 692, 3, 2, 2, 2, 747, 695, 3, 2, 2, 2, 747, 698, 3, 2, 2, 2, 747, 701, 3, 2, 2, 2, 747, 704, 3, 2, 2, 2, 747, 707, 3, 2, 2, 2, 747, 710, 3, 2, 2, 2, 747, 713, 3, 2, 2, 2, 747, 716, 3, 2, 2, 2, 747, 722, 3, 2, 2, 2, 747, 725, 3, 2, 2, 2, 747, 728, 3, 2, 2, 2, 747, 731, 3, 2, 2, 2, 747, 734, 3, 2, 2, 2, 747, 740, 3, 2, 2, 2, 747, 745, 3, 2, 2, 2, 748, 751, 3, 2, 2, 2, 749, 747, 3, 2, 2, 2, 749, 750, 3, 2, 2, 2, 750, 71, 3, 2, 2, 2, 751, 749, 3, 2, 2, 2, 752, 757, 5, 70, 36, 2, 753, 754, 7, 12, 2, 2, 754, 756, 5, 70, 36, 2, 755, 753, 3, 2, 2, 2, 756, 759, 3, 2, 2, 2, 757, 755, 3, 2, 2, 2, 757, 758, 3, 2, 2, 2, 758, 73, 3, 2, 2, 2, 759, 757, 3, 2, 2, 2, 760, 762, 7, 83, 2, 2, 761, 763, 5, 76, 39, 2, 762, 761, 3, 2, 2, 2, 762, 763, 3, 2, 2, 2, 763, 764, 3, 2, 2, 2, 764, 765, 7, 93, 2, 2, 765, 75, 3, 2, 2, 2, 766, 767, 7, 8, 2, 2, 767, 772, 5, 78, 40, 2, 768, 769, 7, 12, 2, 2, 769, 771, 5, 78, 40, 2, 770, 768, 3, 2, 2, 2, 771, 774, 3, 2, 2, 2, 772, 770, 3, 2, 2, 2, 772, 773, 3, 2, 2, 2, 773, 775, 3, 2, 2, 2, 774, 772, 3, 2, 2, 2, 775, 776, 7, 9, 2, 2, 776, 77, 3, 2, 2, 2, 777, 778, 7, 84, 2, 2, 778, 793, 7, 94, 2, 2, 779, 780, 7, 85, 2, 2, 780, 793, 7, 117, 2, 2, 781, 782, 7, 86, 2, 2, 782, 793, 7, 94, 2, 2, 783, 784, 7, 87, 2, 2, 784, 793, 5, 70, 36, 2, 785, 786, 7, 88, 2, 2, 786, 793, 5, 70, 36, 2, 787, 790, 7, 42, 2, 2, 788, 791, 7, 53, 2, 2, 789, 791, 5, 70, 36, 2, 790, 788, 3, 2, 2, 2, 790, 789, 3, 2, 2, 2, 791, 793, 3, 2, 2, 2, 792, 777, 3, 2, 2, 2, 792, 779, 3, 2, 2, 2, 792, 781, 3, 2, 2, 2, 792, 783, 3, 2, 2, 2, 792, 785, 3, 2, 2, 2, 792, 787, 3, 2, 2, 2, 793, 79, 3, 2, 2, 2, 794, 796, 5, 82, 42, 2, 795, 794, 3, 2, 2, 2, 796, 799, 3, 2, 2, 2, 797, 795, 3, 2, 2, 2, 797, 798, 3, 2, 2, 2, 798, 81, 3, 2, 2, 2, 799, 797, 3, 2, 2, 2, 800, 804, 5, 84, 43, 2, 801, 804, 5, 86, 44, 2, 802, 804, 5, 88, 45, 2, 803, 800, 3, 2, 2, 2, 803, 801, 3, 2, 2, 2, 803, 802, 3, 2, 2, 2, 804, 83, 3, 2, 2, 2, 805, 806, 7, 153, 2, 2, 806, 810, 7, 124, 2, 2, 807, 808, 7, 152, 2, 2, 808, 810, 7, 124, 2, 2, 809, 805, 3, 2, 2, 2, 809, 807, 3, 2, 2, 2, 810, 85, 3, 2, 2, 2, 811, 813, 7, 122, 2, 2, 812, 814, 5, 90, 46, 2, 813, 812, 3, 2, 2, 2, 813, 814, 3, 2, 2, 2, 814, 87, 3, 2, 2, 2, 815, 816, 7, 121, 2, 2, 816, 821, 5, 92, 47, 2, 817, 818, 7, 125, 2, 2, 818, 820, 5, 92, 47, 2, 819, 817, 3, 2, 2, 2, 820, 823, 3, 2, 2, 2, 821, 819, 3, 2, 2, 2, 821, 822, 3, 2, 2, 2, 822, 89, 3, 2, 2, 2, 823, 821, 3, 2, 2, 2, 824, 848, 5, 92, 47, 2, 825, 826, 7, 123, 2, 2, 826, 848, 5, 92, 47, 2, 827, 828, 5, 92, 47, 2, 828, 829, 7, 125, 2, 2, 829, 830, 7, 153, 2, 2, 830, 848, 3, 2, 2, 2, 831, 832, 7, 126, 2, 2, 832, 833, 5, 92, 47, 2, 833, 834, 7, 127, 2, 2, 834, 835, 7, 125, 2, 2, 835, 836, 7, 153, 2, 2, 836, 848, 3, 2, 2, 2, 837, 838, 7, 126, 2, 2, 838, 839, 5, 92, 47, 2, 839, 840, 7, 125, 2, 2, 840, 841, 7, 153, 2, 2, 841, 842, 7, 127, 2, 2, 842, 848, 3, 2, 2, 2, 843, 844, 7, 126, 2, 2, 844, 845, 5, 92, 47, 2, 845, 846, 7, 127, 2, 2, 846, 848, 3, 2, 2, 2, 847, 824, 3, 2, 2, 2, 847, 825, 3, 2, 2, 2, 847, 827, 3, 2, 2, 2, 847, 831, 3, 2, 2, 2, 847, 837, 3, 2, 2, 2, 847, 843, 3, 2, 2, 2, 848, 91, 3, 2, 2, 2, 849, 850, 8, 47, 1, 2, 850, 851, 7, 128, 2, 2, 851, 852, 5, 92, 47, 2, 852, 853, 7, 129, 2, 2, 853, 864, 3, 2, 2, 2, 854, 855, 9, 9, 2, 2, 855, 864, 5, 92, 47, 10, 856, 864, 7, 153, 2, 2, 857, 864, 7, 151, 2, 2, 858, 859, 7, 139, 2, 2, 859, 860, 7, 153, 2, 2, 860, 864, 7, 140, 2, 2, 861, 864, 7, 141, 2, 2, 862, 864, 7, 150, 2, 2, 863, 849, 3, 2, 2, 2, 863, 854, 3, 2, 2, 2, 863, 856, 3, 2, 2, 2, 863, 857, 3, 2, 2, 2, 863, 858, 3, 2, 2, 2, 863, 861, 3, 2, 2, 2, 863, 862, 3, 2, 2, 2, 864, 879, 3, 2, 2, 2, 865, 866, 12, 12, 2, 2, 866, 867, 7, 130, 2, 2, 867, 878, 5, 92, 47, 13, 868, 869, 12, 11, 2, 2, 869, 870, 9, 10, 2, 2, 870, 878, 5, 92, 47, 12, 871, 872, 12, 9, 2, 2, 872, 873, 9, 11, 2, 2, 873, 878, 5, 92, 47, 10, 874, 875, 12, 8, 2, 2, 875, 876, 9, 12, 2, 2, 876, 878, 5, 92, 47, 9, 877, 865, 3, 2, 2, 2, 877, 868, 3, 2, 2, 2, 877, 871, 3, 2, 2, 2, 877, 874, 3, 2, 2, 2, 878, 881, 3, 2, 2, 2, 879, 877, 3, 2, 2, 2, 879, 880, 3, 2, 2, 2, 880, 93, 3, 2, 2, 2, 881, 879, 3, 2, 2, 2, 89, 103, 108, 114, 131, 140, 150, 156, 164, 171, 180, 185, 191, 196, 201, 208, 215, 220, 232, 235, 237, 248, 255, 260, 266, 268, 276, 282, 294, 308, 314, 320, 326, 331, 340, 347, 353, 364, 425, 429, 440, 459, 468, 473, 478, 485, 498, 503, 515, 529, 548, 557, 564, 569, 574, 576, 582, 589, 595, 598, 606, 609, 612, 622, 634, 642, 648, 652, 673, 683, 687, 737, 747, 749, 757, 762, 772, 790, 792, 797, 803, 809, 813, 821, 847, 863, 877, 879]
\ No newline at end of file
+[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 156, 889, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 4, 7, 4, 104, 10, 4, 12, 4, 14, 4, 107, 11, 4, 3, 5, 3, 5, 5, 5, 111, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 117, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 134, 10, 7, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 7, 9, 141, 10, 9, 12, 9, 14, 9, 144, 11, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 7, 9, 151, 10, 9, 12, 9, 14, 9, 154, 11, 9, 3, 9, 7, 9, 157, 10, 9, 12, 9, 14, 9, 160, 11, 9, 3, 10, 3, 10, 3, 10, 7, 10, 165, 10, 10, 12, 10, 14, 10, 168, 11, 10, 3, 10, 3, 10, 7, 10, 172, 10, 10, 12, 10, 14, 10, 175, 11, 10, 3, 10, 3, 10, 3, 11, 3, 11, 7, 11, 181, 10, 11, 12, 11, 14, 11, 184, 11, 11, 3, 11, 3, 11, 5, 11, 188, 10, 11, 3, 11, 3, 11, 7, 11, 192, 10, 11, 12, 11, 14, 11, 195, 11, 11, 3, 11, 3, 11, 5, 11, 199, 10, 11, 3, 12, 7, 12, 202, 10, 12, 12, 12, 14, 12, 205, 11, 12, 3, 12, 3, 12, 7, 12, 209, 10, 12, 12, 12, 14, 12, 212, 11, 12, 3, 13, 3, 13, 7, 13, 216, 10, 13, 12, 13, 14, 13, 219, 11, 13, 3, 14, 3, 14, 5, 14, 223, 10, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 5, 15, 235, 10, 15, 3, 15, 7, 15, 238, 10, 15, 12, 15, 14, 15, 241, 11, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 5, 16, 251, 10, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 5, 16, 258, 10, 16, 3, 16, 3, 16, 3, 16, 5, 16, 263, 10, 16, 3, 16, 3, 16, 3, 16, 3, 16, 7, 16, 269, 10, 16, 12, 16, 14, 16, 272, 11, 16, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 5, 18, 279, 10, 18, 3, 18, 3, 18, 6, 18, 283, 10, 18, 13, 18, 14, 18, 284, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 5, 21, 297, 10, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 7, 22, 309, 10, 22, 12, 22, 14, 22, 312, 11, 22, 3, 23, 3, 23, 3, 23, 5, 23, 317, 10, 23, 3, 24, 3, 24, 7, 24, 321, 10, 24, 12, 24, 14, 24, 324, 11, 24, 3, 24, 3, 24, 3, 24, 5, 24, 329, 10, 24, 3, 24, 3, 24, 3, 24, 5, 24, 334, 10, 24, 3, 25, 3, 25, 5, 25, 338, 10, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 7, 26, 345, 10, 26, 12, 26, 14, 26, 348, 11, 26, 3, 27, 3, 27, 7, 27, 352, 10, 27, 12, 27, 14, 27, 355, 11, 27, 3, 27, 3, 27, 3, 27, 5, 27, 360, 10, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 7, 28, 369, 10, 28, 12, 28, 14, 28, 372, 11, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 7, 28, 430, 10, 28, 12, 28, 14, 28, 433, 11, 28, 3, 28, 5, 28, 436, 10, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 5, 29, 447, 10, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 5, 29, 466, 10, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 7, 29, 473, 10, 29, 12, 29, 14, 29, 476, 11, 29, 3, 29, 3, 29, 5, 29, 480, 10, 29, 3, 30, 6, 30, 483, 10, 30, 13, 30, 14, 30, 484, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 492, 10, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 505, 10, 31, 3, 31, 7, 31, 508, 10, 31, 12, 31, 14, 31, 511, 11, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 7, 31, 520, 10, 31, 12, 31, 14, 31, 523, 11, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 7, 31, 534, 10, 31, 12, 31, 14, 31, 537, 11, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 555, 10, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 564, 10, 31, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 571, 10, 31, 3, 32, 6, 32, 574, 10, 32, 13, 32, 14, 32, 575, 3, 32, 3, 32, 3, 32, 5, 32, 581, 10, 32, 5, 32, 583, 10, 32, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 589, 10, 33, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 5, 34, 596, 10, 34, 3, 34, 3, 34, 7, 34, 600, 10, 34, 12, 34, 14, 34, 603, 11, 34, 5, 34, 605, 10, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 5, 34, 613, 10, 34, 3, 35, 5, 35, 616, 10, 35, 3, 35, 5, 35, 619, 10, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 7, 36, 627, 10, 36, 12, 36, 14, 36, 630, 11, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 641, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 649, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 655, 10, 37, 3, 37, 3, 37, 5, 37, 659, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 7, 37, 678, 10, 37, 12, 37, 14, 37, 681, 11, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 6, 37, 688, 10, 37, 13, 37, 14, 37, 689, 3, 37, 3, 37, 5, 37, 694, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 744, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 7, 37, 754, 10, 37, 12, 37, 14, 37, 757, 11, 37, 3, 38, 3, 38, 3, 38, 7, 38, 762, 10, 38, 12, 38, 14, 38, 765, 11, 38, 3, 39, 3, 39, 5, 39, 769, 10, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 7, 40, 777, 10, 40, 12, 40, 14, 40, 780, 11, 40, 3, 40, 3, 40, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 5, 41, 797, 10, 41, 5, 41, 799, 10, 41, 3, 42, 7, 42, 802, 10, 42, 12, 42, 14, 42, 805, 11, 42, 3, 43, 3, 43, 3, 43, 5, 43, 810, 10, 43, 3, 44, 3, 44, 3, 44, 3, 44, 5, 44, 816, 10, 44, 3, 45, 3, 45, 5, 45, 820, 10, 45, 3, 46, 3, 46, 3, 46, 3, 46, 7, 46, 826, 10, 46, 12, 46, 14, 46, 829, 11, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 5, 47, 854, 10, 47, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 5, 48, 870, 10, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 7, 48, 884, 10, 48, 12, 48, 14, 48, 887, 11, 48, 3, 48, 2, 9, 16, 28, 30, 42, 70, 72, 94, 49, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 2, 13, 3, 2, 22, 23, 5, 2, 17, 18, 24, 25, 89, 89, 4, 2, 32, 32, 35, 35, 3, 2, 28, 29, 3, 2, 19, 21, 3, 2, 17, 18, 3, 2, 30, 35, 3, 2, 133, 136, 3, 2, 131, 132, 3, 2, 137, 138, 3, 2, 133, 134, 2, 1017, 2, 96, 3, 2, 2, 2, 4, 99, 3, 2, 2, 2, 6, 105, 3, 2, 2, 2, 8, 110, 3, 2, 2, 2, 10, 116, 3, 2, 2, 2, 12, 133, 3, 2, 2, 2, 14, 135, 3, 2, 2, 2, 16, 138, 3, 2, 2, 2, 18, 161, 3, 2, 2, 2, 20, 198, 3, 2, 2, 2, 22, 203, 3, 2, 2, 2, 24, 213, 3, 2, 2, 2, 26, 220, 3, 2, 2, 2, 28, 226, 3, 2, 2, 2, 30, 257, 3, 2, 2, 2, 32, 273, 3, 2, 2, 2, 34, 276, 3, 2, 2, 2, 36, 288, 3, 2, 2, 2, 38, 291, 3, 2, 2, 2, 40, 294, 3, 2, 2, 2, 42, 302, 3, 2, 2, 2, 44, 313, 3, 2, 2, 2, 46, 318, 3, 2, 2, 2, 48, 335, 3, 2, 2, 2, 50, 341, 3, 2, 2, 2, 52, 359, 3, 2, 2, 2, 54, 435, 3, 2, 2, 2, 56, 479, 3, 2, 2, 2, 58, 482, 3, 2, 2, 2, 60, 570, 3, 2, 2, 2, 62, 573, 3, 2, 2, 2, 64, 584, 3, 2, 2, 2, 66, 612, 3, 2, 2, 2, 68, 618, 3, 2, 2, 2, 70, 620, 3, 2, 2, 2, 72, 693, 3, 2, 2, 2, 74, 758, 3, 2, 2, 2, 76, 766, 3, 2, 2, 2, 78, 772, 3, 2, 2, 2, 80, 798, 3, 2, 2, 2, 82, 803, 3, 2, 2, 2, 84, 809, 3, 2, 2, 2, 86, 815, 3, 2, 2, 2, 88, 817, 3, 2, 2, 2, 90, 821, 3, 2, 2, 2, 92, 853, 3, 2, 2, 2, 94, 869, 3, 2, 2, 2, 96, 97, 5, 6, 4, 2, 97, 98, 7, 2, 2, 3, 98, 3, 3, 2, 2, 2, 99, 100, 5, 82, 42, 2, 100, 101, 7, 2, 2, 3, 101, 5, 3, 2, 2, 2, 102, 104, 5, 8, 5, 2, 103, 102, 3, 2, 2, 2, 104, 107, 3, 2, 2, 2, 105, 103, 3, 2, 2, 2, 105, 106, 3, 2, 2, 2, 106, 7, 3, 2, 2, 2, 107, 105, 3, 2, 2, 2, 108, 111, 5, 12, 7, 2, 109, 111, 5, 10, 6, 2, 110, 108, 3, 2, 2, 2, 110, 109, 3, 2, 2, 2, 111, 9, 3, 2, 2, 2, 112, 113, 7, 96, 2, 2, 113, 117, 7, 94, 2, 2, 114, 115, 7, 97, 2, 2, 115, 117, 7, 94, 2, 2, 116, 112, 3, 2, 2, 2, 116, 114, 3, 2, 2, 2, 117, 11, 3, 2, 2, 2, 118, 119, 5, 14, 8, 2, 119, 120, 7, 10, 2, 2, 120, 134, 3, 2, 2, 2, 121, 122, 5, 34, 18, 2, 122, 123, 7, 10, 2, 2, 123, 134, 3, 2, 2, 2, 124, 125, 5, 40, 21, 2, 125, 126, 7, 10, 2, 2, 126, 134, 3, 2, 2, 2, 127, 134, 5, 46, 24, 2, 128, 134, 5, 76, 39, 2, 129, 134, 5, 54, 28, 2, 130, 131, 5, 18, 10, 2, 131, 132, 7, 10, 2, 2, 132, 134, 3, 2, 2, 2, 133, 118, 3, 2, 2, 2, 133, 121, 3, 2, 2, 2, 133, 124, 3, 2, 2, 2, 133, 127, 3, 2, 2, 2, 133, 128, 3, 2, 2, 2, 133, 129, 3, 2, 2, 2, 133, 130, 3, 2, 2, 2, 134, 13, 3, 2, 2, 2, 135, 136, 5, 22, 12, 2, 136, 137, 5, 16, 9, 2, 137, 15, 3, 2, 2, 2, 138, 142, 8, 9, 1, 2, 139, 141, 5, 24, 13, 2, 140, 139, 3, 2, 2, 2, 141, 144, 3, 2, 2, 2, 142, 140, 3, 2, 2, 2, 142, 143, 3, 2, 2, 2, 143, 145, 3, 2, 2, 2, 144, 142, 3, 2, 2, 2, 145, 146, 5, 20, 11, 2, 146, 158, 3, 2, 2, 2, 147, 148, 12, 3, 2, 2, 148, 152, 7, 12, 2, 2, 149, 151, 5, 24, 13, 2, 150, 149, 3, 2, 2, 2, 151, 154, 3, 2, 2, 2, 152, 150, 3, 2, 2, 2, 152, 153, 3, 2, 2, 2, 153, 155, 3, 2, 2, 2, 154, 152, 3, 2, 2, 2, 155, 157, 5, 20, 11, 2, 156, 147, 3, 2, 2, 2, 157, 160, 3, 2, 2, 2, 158, 156, 3, 2, 2, 2, 158, 159, 3, 2, 2, 2, 159, 17, 3, 2, 2, 2, 160, 158, 3, 2, 2, 2, 161, 162, 7, 40, 2, 2, 162, 166, 5, 22, 12, 2, 163, 165, 5, 24, 13, 2, 164, 163, 3, 2, 2, 2, 165, 168, 3, 2, 2, 2, 166, 164, 3, 2, 2, 2, 166, 167, 3, 2, 2, 2, 167, 169, 3, 2, 2, 2, 168, 166, 3, 2, 2, 2, 169, 173, 7, 117, 2, 2, 170, 172, 5, 26, 14, 2, 171, 170, 3, 2, 2, 2, 172, 175, 3, 2, 2, 2, 173, 171, 3, 2, 2, 2, 173, 174, 3, 2, 2, 2, 174, 176, 3, 2, 2, 2, 175, 173, 3, 2, 2, 2, 176, 177, 8, 10, 1, 2, 177, 19, 3, 2, 2, 2, 178, 182, 7, 117, 2, 2, 179, 181, 5, 26, 14, 2, 180, 179, 3, 2, 2, 2, 181, 184, 3, 2, 2, 2, 182, 180, 3, 2, 2, 2, 182, 183, 3, 2, 2, 2, 183, 187, 3, 2, 2, 2, 184, 182, 3, 2, 2, 2, 185, 186, 7, 38, 2, 2, 186, 188, 5, 72, 37, 2, 187, 185, 3, 2, 2, 2, 187, 188, 3, 2, 2, 2, 188, 199, 3, 2, 2, 2, 189, 193, 7, 117, 2, 2, 190, 192, 5, 26, 14, 2, 191, 190, 3, 2, 2, 2, 192, 195, 3, 2, 2, 2, 193, 191, 3, 2, 2, 2, 193, 194, 3, 2, 2, 2, 194, 196, 3, 2, 2, 2, 195, 193, 3, 2, 2, 2, 196, 197, 7, 38, 2, 2, 197, 199, 5, 76, 39, 2, 198, 178, 3, 2, 2, 2, 198, 189, 3, 2, 2, 2, 199, 21, 3, 2, 2, 2, 200, 202, 5, 56, 29, 2, 201, 200, 3, 2, 2, 2, 202, 205, 3, 2, 2, 2, 203, 201, 3, 2, 2, 2, 203, 204, 3, 2, 2, 2, 204, 206, 3, 2, 2, 2, 205, 203, 3, 2, 2, 2, 206, 210, 5, 30, 16, 2, 207, 209, 5, 56, 29, 2, 208, 207, 3, 2, 2, 2, 209, 212, 3, 2, 2, 2, 210, 208, 3, 2, 2, 2, 210, 211, 3, 2, 2, 2, 211, 23, 3, 2, 2, 2, 212, 210, 3, 2, 2, 2, 213, 217, 7, 19, 2, 2, 214, 216, 5, 56, 29, 2, 215, 214, 3, 2, 2, 2, 216, 219, 3, 2, 2, 2, 217, 215, 3, 2, 2, 2, 217, 218, 3, 2, 2, 2, 218, 25, 3, 2, 2, 2, 219, 217, 3, 2, 2, 2, 220, 222, 7, 6, 2, 2, 221, 223, 5, 72, 37, 2, 222, 221, 3, 2, 2, 2, 222, 223, 3, 2, 2, 2, 223, 224, 3, 2, 2, 2, 224, 225, 7, 7, 2, 2, 225, 27, 3, 2, 2, 2, 226, 227, 8, 15, 1, 2, 227, 228, 5, 30, 16, 2, 228, 239, 3, 2, 2, 2, 229, 230, 12, 4, 2, 2, 230, 238, 7, 19, 2, 2, 231, 232, 12, 3, 2, 2, 232, 234, 7, 6, 2, 2, 233, 235, 5, 72, 37, 2, 234, 233, 3, 2, 2, 2, 234, 235, 3, 2, 2, 2, 235, 236, 3, 2, 2, 2, 236, 238, 7, 7, 2, 2, 237, 229, 3, 2, 2, 2, 237, 231, 3, 2, 2, 2, 238, 241, 3, 2, 2, 2, 239, 237, 3, 2, 2, 2, 239, 240, 3, 2, 2, 2, 240, 29, 3, 2, 2, 2, 241, 239, 3, 2, 2, 2, 242, 243, 8, 16, 1, 2, 243, 244, 7, 8, 2, 2, 244, 245, 5, 30, 16, 2, 245, 246, 7, 9, 2, 2, 246, 258, 3, 2, 2, 2, 247, 258, 7, 91, 2, 2, 248, 250, 7, 90, 2, 2, 249, 251, 7, 91, 2, 2, 250, 249, 3, 2, 2, 2, 250, 251, 3, 2, 2, 2, 251, 258, 3, 2, 2, 2, 252, 258, 5, 34, 18, 2, 253, 258, 5, 32, 17, 2, 254, 258, 5, 40, 21, 2, 255, 258, 5, 38, 20, 2, 256, 258, 7, 3, 2, 2, 257, 242, 3, 2, 2, 2, 257, 247, 3, 2, 2, 2, 257, 248, 3, 2, 2, 2, 257, 252, 3, 2, 2, 2, 257, 253, 3, 2, 2, 2, 257, 254, 3, 2, 2, 2, 257, 255, 3, 2, 2, 2, 257, 256, 3, 2, 2, 2, 258, 270, 3, 2, 2, 2, 259, 260, 12, 9, 2, 2, 260, 262, 7, 6, 2, 2, 261, 263, 5, 72, 37, 2, 262, 261, 3, 2, 2, 2, 262, 263, 3, 2, 2, 2, 263, 264, 3, 2, 2, 2, 264, 269, 7, 7, 2, 2, 265, 266, 12, 8, 2, 2, 266, 267, 7, 8, 2, 2, 267, 269, 7, 9, 2, 2, 268, 259, 3, 2, 2, 2, 268, 265, 3, 2, 2, 2, 269, 272, 3, 2, 2, 2, 270, 268, 3, 2, 2, 2, 270, 271, 3, 2, 2, 2, 271, 31, 3, 2, 2, 2, 272, 270, 3, 2, 2, 2, 273, 274, 7, 78, 2, 2, 274, 275, 7, 117, 2, 2, 275, 33, 3, 2, 2, 2, 276, 278, 7, 78, 2, 2, 277, 279, 7, 117, 2, 2, 278, 277, 3, 2, 2, 2, 278, 279, 3, 2, 2, 2, 279, 280, 3, 2, 2, 2, 280, 282, 7, 4, 2, 2, 281, 283, 5, 36, 19, 2, 282, 281, 3, 2, 2, 2, 283, 284, 3, 2, 2, 2, 284, 282, 3, 2, 2, 2, 284, 285, 3, 2, 2, 2, 285, 286, 3, 2, 2, 2, 286, 287, 7, 5, 2, 2, 287, 35, 3, 2, 2, 2, 288, 289, 5, 14, 8, 2, 289, 290, 7, 10, 2, 2, 290, 37, 3, 2, 2, 2, 291, 292, 7, 79, 2, 2, 292, 293, 7, 117, 2, 2, 293, 39, 3, 2, 2, 2, 294, 296, 7, 79, 2, 2, 295, 297, 7, 117, 2, 2, 296, 295, 3, 2, 2, 2, 296, 297, 3, 2, 2, 2, 297, 298, 3, 2, 2, 2, 298, 299, 7, 4, 2, 2, 299, 300, 5, 42, 22, 2, 300, 301, 7, 5, 2, 2, 301, 41, 3, 2, 2, 2, 302, 303, 8, 22, 1, 2, 303, 304, 5, 44, 23, 2, 304, 310, 3, 2, 2, 2, 305, 306, 12, 3, 2, 2, 306, 307, 7, 12, 2, 2, 307, 309, 5, 44, 23, 2, 308, 305, 3, 2, 2, 2, 309, 312, 3, 2, 2, 2, 310, 308, 3, 2, 2, 2, 310, 311, 3, 2, 2, 2, 311, 43, 3, 2, 2, 2, 312, 310, 3, 2, 2, 2, 313, 316, 7, 117, 2, 2, 314, 315, 7, 38, 2, 2, 315, 317, 5, 72, 37, 2, 316, 314, 3, 2, 2, 2, 316, 317, 3, 2, 2, 2, 317, 45, 3, 2, 2, 2, 318, 322, 5, 22, 12, 2, 319, 321, 5, 24, 13, 2, 320, 319, 3, 2, 2, 2, 321, 324, 3, 2, 2, 2, 322, 320, 3, 2, 2, 2, 322, 323, 3, 2, 2, 2, 323, 325, 3, 2, 2, 2, 324, 322, 3, 2, 2, 2, 325, 326, 7, 117, 2, 2, 326, 328, 7, 8, 2, 2, 327, 329, 5, 50, 26, 2, 328, 327, 3, 2, 2, 2, 328, 329, 3, 2, 2, 2, 329, 330, 3, 2, 2, 2, 330, 333, 7, 9, 2, 2, 331, 334, 5, 48, 25, 2, 332, 334, 7, 10, 2, 2, 333, 331, 3, 2, 2, 2, 333, 332, 3, 2, 2, 2, 334, 47, 3, 2, 2, 2, 335, 337, 7, 4, 2, 2, 336, 338, 5, 58, 30, 2, 337, 336, 3, 2, 2, 2, 337, 338, 3, 2, 2, 2, 338, 339, 3, 2, 2, 2, 339, 340, 7, 5, 2, 2, 340, 49, 3, 2, 2, 2, 341, 346, 5, 52, 27, 2, 342, 343, 7, 12, 2, 2, 343, 345, 5, 52, 27, 2, 344, 342, 3, 2, 2, 2, 345, 348, 3, 2, 2, 2, 346, 344, 3, 2, 2, 2, 346, 347, 3, 2, 2, 2, 347, 51, 3, 2, 2, 2, 348, 346, 3, 2, 2, 2, 349, 353, 5, 22, 12, 2, 350, 352, 5, 24, 13, 2, 351, 350, 3, 2, 2, 2, 352, 355, 3, 2, 2, 2, 353, 351, 3, 2, 2, 2, 353, 354, 3, 2, 2, 2, 354, 356, 3, 2, 2, 2, 355, 353, 3, 2, 2, 2, 356, 357, 7, 117, 2, 2, 357, 360, 3, 2, 2, 2, 358, 360, 7, 91, 2, 2, 359, 349, 3, 2, 2, 2, 359, 358, 3, 2, 2, 2, 360, 53, 3, 2, 2, 2, 361, 362, 7, 98, 2, 2, 362, 363, 7, 41, 2, 2, 363, 364, 3, 2, 2, 2, 364, 365, 7, 8, 2, 2, 365, 370, 7, 108, 2, 2, 366, 367, 7, 12, 2, 2, 367, 369, 7, 108, 2, 2, 368, 366, 3, 2, 2, 2, 369, 372, 3, 2, 2, 2, 370, 368, 3, 2, 2, 2, 370, 371, 3, 2, 2, 2, 371, 373, 3, 2, 2, 2, 372, 370, 3, 2, 2, 2, 373, 436, 7, 9, 2, 2, 374, 375, 7, 98, 2, 2, 375, 376, 7, 42, 2, 2, 376, 377, 3, 2, 2, 2, 377, 378, 7, 8, 2, 2, 378, 379, 7, 108, 2, 2, 379, 436, 7, 9, 2, 2, 380, 381, 7, 98, 2, 2, 381, 382, 7, 43, 2, 2, 382, 383, 3, 2, 2, 2, 383, 384, 7, 8, 2, 2, 384, 385, 7, 117, 2, 2, 385, 436, 7, 9, 2, 2, 386, 387, 7, 98, 2, 2, 387, 388, 7, 45, 2, 2, 388, 389, 3, 2, 2, 2, 389, 390, 7, 8, 2, 2, 390, 391, 7, 117, 2, 2, 391, 436, 7, 9, 2, 2, 392, 393, 7, 98, 2, 2, 393, 394, 7, 44, 2, 2, 394, 395, 3, 2, 2, 2, 395, 396, 7, 8, 2, 2, 396, 397, 7, 94, 2, 2, 397, 436, 7, 9, 2, 2, 398, 399, 7, 98, 2, 2, 399, 400, 7, 46, 2, 2, 400, 401, 3, 2, 2, 2, 401, 402, 7, 8, 2, 2, 402, 403, 7, 117, 2, 2, 403, 436, 7, 9, 2, 2, 404, 405, 7, 98, 2, 2, 405, 406, 7, 47, 2, 2, 406, 407, 3, 2, 2, 2, 407, 408, 7, 8, 2, 2, 408, 409, 7, 117, 2, 2, 409, 436, 7, 9, 2, 2, 410, 411, 7, 98, 2, 2, 411, 412, 7, 48, 2, 2, 412, 413, 3, 2, 2, 2, 413, 414, 7, 8, 2, 2, 414, 415, 7, 117, 2, 2, 415, 436, 7, 9, 2, 2, 416, 417, 7, 98, 2, 2, 417, 418, 7, 63, 2, 2, 418, 419, 3, 2, 2, 2, 419, 420, 7, 8, 2, 2, 420, 421, 7, 64, 2, 2, 421, 436, 7, 9, 2, 2, 422, 423, 7, 98, 2, 2, 423, 424, 7, 65, 2, 2, 424, 425, 3, 2, 2, 2, 425, 426, 7, 8, 2, 2, 426, 431, 7, 117, 2, 2, 427, 428, 7, 12, 2, 2, 428, 430, 7, 117, 2, 2, 429, 427, 3, 2, 2, 2, 430, 433, 3, 2, 2, 2, 431, 429, 3, 2, 2, 2, 431, 432, 3, 2, 2, 2, 432, 434, 3, 2, 2, 2, 433, 431, 3, 2, 2, 2, 434, 436, 7, 9, 2, 2, 435, 361, 3, 2, 2, 2, 435, 374, 3, 2, 2, 2, 435, 380, 3, 2, 2, 2, 435, 386, 3, 2, 2, 2, 435, 392, 3, 2, 2, 2, 435, 398, 3, 2, 2, 2, 435, 404, 3, 2, 2, 2, 435, 410, 3, 2, 2, 2, 435, 416, 3, 2, 2, 2, 435, 422, 3, 2, 2, 2, 436, 55, 3, 2, 2, 2, 437, 480, 7, 49, 2, 2, 438, 439, 7, 52, 2, 2, 439, 440, 7, 8, 2, 2, 440, 441, 7, 108, 2, 2, 441, 480, 7, 9, 2, 2, 442, 446, 7, 57, 2, 2, 443, 444, 7, 8, 2, 2, 444, 445, 7, 117, 2, 2, 445, 447, 7, 9, 2, 2, 446, 443, 3, 2, 2, 2, 446, 447, 3, 2, 2, 2, 447, 480, 3, 2, 2, 2, 448, 480, 7, 59, 2, 2, 449, 480, 7, 60, 2, 2, 450, 451, 7, 58, 2, 2, 451, 452, 7, 8, 2, 2, 452, 453, 7, 108, 2, 2, 453, 480, 7, 9, 2, 2, 454, 480, 7, 54, 2, 2, 455, 480, 7, 55, 2, 2, 456, 480, 7, 61, 2, 2, 457, 480, 7, 62, 2, 2, 458, 480, 7, 50, 2, 2, 459, 480, 7, 51, 2, 2, 460, 480, 7, 53, 2, 2, 461, 465, 7, 56, 2, 2, 462, 463, 7, 8, 2, 2, 463, 464, 7, 117, 2, 2, 464, 466, 7, 9, 2, 2, 465, 462, 3, 2, 2, 2, 465, 466, 3, 2, 2, 2, 466, 480, 3, 2, 2, 2, 467, 468, 7, 41, 2, 2, 468, 469, 7, 8, 2, 2, 469, 474, 7, 108, 2, 2, 470, 471, 7, 12, 2, 2, 471, 473, 7, 108, 2, 2, 472, 470, 3, 2, 2, 2, 473, 476, 3, 2, 2, 2, 474, 472, 3, 2, 2, 2, 474, 475, 3, 2, 2, 2, 475, 477, 3, 2, 2, 2, 476, 474, 3, 2, 2, 2, 477, 480, 7, 9, 2, 2, 478, 480, 7, 64, 2, 2, 479, 437, 3, 2, 2, 2, 479, 438, 3, 2, 2, 2, 479, 442, 3, 2, 2, 2, 479, 448, 3, 2, 2, 2, 479, 449, 3, 2, 2, 2, 479, 450, 3, 2, 2, 2, 479, 454, 3, 2, 2, 2, 479, 455, 3, 2, 2, 2, 479, 456, 3, 2, 2, 2, 479, 457, 3, 2, 2, 2, 479, 458, 3, 2, 2, 2, 479, 459, 3, 2, 2, 2, 479, 460, 3, 2, 2, 2, 479, 461, 3, 2, 2, 2, 479, 467, 3, 2, 2, 2, 479, 478, 3, 2, 2, 2, 480, 57, 3, 2, 2, 2, 481, 483, 5, 60, 31, 2, 482, 481, 3, 2, 2, 2, 483, 484, 3, 2, 2, 2, 484, 482, 3, 2, 2, 2, 484, 485, 3, 2, 2, 2, 485, 59, 3, 2, 2, 2, 486, 487, 5, 14, 8, 2, 487, 488, 7, 10, 2, 2, 488, 571, 3, 2, 2, 2, 489, 491, 7, 4, 2, 2, 490, 492, 5, 58, 30, 2, 491, 490, 3, 2, 2, 2, 491, 492, 3, 2, 2, 2, 492, 493, 3, 2, 2, 2, 493, 571, 7, 5, 2, 2, 494, 495, 5, 70, 36, 2, 495, 496, 7, 10, 2, 2, 496, 571, 3, 2, 2, 2, 497, 498, 7, 66, 2, 2, 498, 499, 7, 8, 2, 2, 499, 500, 5, 70, 36, 2, 500, 501, 7, 9, 2, 2, 501, 504, 5, 60, 31, 2, 502, 503, 7, 67, 2, 2, 503, 505, 5, 60, 31, 2, 504, 502, 3, 2, 2, 2, 504, 505, 3, 2, 2, 2, 505, 571, 3, 2, 2, 2, 506, 508, 5, 56, 29, 2, 507, 506, 3, 2, 2, 2, 508, 511, 3, 2, 2, 2, 509, 507, 3, 2, 2, 2, 509, 510, 3, 2, 2, 2, 510, 512, 3, 2, 2, 2, 511, 509, 3, 2, 2, 2, 512, 513, 7, 68, 2, 2, 513, 514, 7, 8, 2, 2, 514, 515, 5, 70, 36, 2, 515, 516, 7, 9, 2, 2, 516, 517, 5, 60, 31, 2, 517, 571, 3, 2, 2, 2, 518, 520, 5, 56, 29, 2, 519, 518, 3, 2, 2, 2, 520, 523, 3, 2, 2, 2, 521, 519, 3, 2, 2, 2, 521, 522, 3, 2, 2, 2, 522, 524, 3, 2, 2, 2, 523, 521, 3, 2, 2, 2, 524, 525, 7, 69, 2, 2, 525, 526, 5, 60, 31, 2, 526, 527, 7, 68, 2, 2, 527, 528, 7, 8, 2, 2, 528, 529, 5, 70, 36, 2, 529, 530, 7, 9, 2, 2, 530, 531, 7, 10, 2, 2, 531, 571, 3, 2, 2, 2, 532, 534, 5, 56, 29, 2, 533, 532, 3, 2, 2, 2, 534, 537, 3, 2, 2, 2, 535, 533, 3, 2, 2, 2, 535, 536, 3, 2, 2, 2, 536, 538, 3, 2, 2, 2, 537, 535, 3, 2, 2, 2, 538, 539, 7, 70, 2, 2, 539, 540, 7, 8, 2, 2, 540, 541, 5, 66, 34, 2, 541, 542, 7, 9, 2, 2, 542, 543, 5, 60, 31, 2, 543, 571, 3, 2, 2, 2, 544, 545, 7, 71, 2, 2, 545, 546, 7, 8, 2, 2, 546, 547, 5, 70, 36, 2, 547, 548, 7, 9, 2, 2, 548, 549, 7, 4, 2, 2, 549, 550, 5, 62, 32, 2, 550, 551, 7, 5, 2, 2, 551, 571, 3, 2, 2, 2, 552, 554, 7, 72, 2, 2, 553, 555, 5, 70, 36, 2, 554, 553, 3, 2, 2, 2, 554, 555, 3, 2, 2, 2, 555, 556, 3, 2, 2, 2, 556, 571, 7, 10, 2, 2, 557, 558, 7, 73, 2, 2, 558, 571, 7, 10, 2, 2, 559, 560, 7, 74, 2, 2, 560, 571, 7, 10, 2, 2, 561, 563, 7, 75, 2, 2, 562, 564, 5, 78, 40, 2, 563, 562, 3, 2, 2, 2, 563, 564, 3, 2, 2, 2, 564, 565, 3, 2, 2, 2, 565, 566, 7, 4, 2, 2, 566, 567, 5, 82, 42, 2, 567, 568, 7, 140, 2, 2, 568, 571, 3, 2, 2, 2, 569, 571, 5, 76, 39, 2, 570, 486, 3, 2, 2, 2, 570, 489, 3, 2, 2, 2, 570, 494, 3, 2, 2, 2, 570, 497, 3, 2, 2, 2, 570, 509, 3, 2, 2, 2, 570, 521, 3, 2, 2, 2, 570, 535, 3, 2, 2, 2, 570, 544, 3, 2, 2, 2, 570, 552, 3, 2, 2, 2, 570, 557, 3, 2, 2, 2, 570, 559, 3, 2, 2, 2, 570, 561, 3, 2, 2, 2, 570, 569, 3, 2, 2, 2, 571, 61, 3, 2, 2, 2, 572, 574, 5, 64, 33, 2, 573, 572, 3, 2, 2, 2, 574, 575, 3, 2, 2, 2, 575, 573, 3, 2, 2, 2, 575, 576, 3, 2, 2, 2, 576, 582, 3, 2, 2, 2, 577, 578, 7, 76, 2, 2, 578, 580, 7, 11, 2, 2, 579, 581, 5, 58, 30, 2, 580, 579, 3, 2, 2, 2, 580, 581, 3, 2, 2, 2, 581, 583, 3, 2, 2, 2, 582, 577, 3, 2, 2, 2, 582, 583, 3, 2, 2, 2, 583, 63, 3, 2, 2, 2, 584, 585, 7, 77, 2, 2, 585, 586, 5, 72, 37, 2, 586, 588, 7, 11, 2, 2, 587, 589, 5, 58, 30, 2, 588, 587, 3, 2, 2, 2, 588, 589, 3, 2, 2, 2, 589, 65, 3, 2, 2, 2, 590, 591, 5, 68, 35, 2, 591, 592, 7, 10, 2, 2, 592, 593, 5, 70, 36, 2, 593, 595, 7, 10, 2, 2, 594, 596, 5, 70, 36, 2, 595, 594, 3, 2, 2, 2, 595, 596, 3, 2, 2, 2, 596, 613, 3, 2, 2, 2, 597, 601, 5, 22, 12, 2, 598, 600, 5, 24, 13, 2, 599, 598, 3, 2, 2, 2, 600, 603, 3, 2, 2, 2, 601, 599, 3, 2, 2, 2, 601, 602, 3, 2, 2, 2, 602, 605, 3, 2, 2, 2, 603, 601, 3, 2, 2, 2, 604, 597, 3, 2, 2, 2, 604, 605, 3, 2, 2, 2, 605, 606, 3, 2, 2, 2, 606, 607, 7, 117, 2, 2, 607, 608, 7, 11, 2, 2, 608, 609, 5, 72, 37, 2, 609, 610, 7, 13, 2, 2, 610, 611, 5, 72, 37, 2, 611, 613, 3, 2, 2, 2, 612, 590, 3, 2, 2, 2, 612, 604, 3, 2, 2, 2, 613, 67, 3, 2, 2, 2, 614, 616, 5, 14, 8, 2, 615, 614, 3, 2, 2, 2, 615, 616, 3, 2, 2, 2, 616, 619, 3, 2, 2, 2, 617, 619, 5, 70, 36, 2, 618, 615, 3, 2, 2, 2, 618, 617, 3, 2, 2, 2, 619, 69, 3, 2, 2, 2, 620, 621, 8, 36, 1, 2, 621, 622, 5, 72, 37, 2, 622, 628, 3, 2, 2, 2, 623, 624, 12, 3, 2, 2, 624, 625, 7, 12, 2, 2, 625, 627, 5, 72, 37, 2, 626, 623, 3, 2, 2, 2, 627, 630, 3, 2, 2, 2, 628, 626, 3, 2, 2, 2, 628, 629, 3, 2, 2, 2, 629, 71, 3, 2, 2, 2, 630, 628, 3, 2, 2, 2, 631, 632, 8, 37, 1, 2, 632, 633, 7, 8, 2, 2, 633, 634, 5, 70, 36, 2, 634, 635, 7, 9, 2, 2, 635, 694, 3, 2, 2, 2, 636, 637, 7, 80, 2, 2, 637, 640, 7, 8, 2, 2, 638, 641, 5, 72, 37, 2, 639, 641, 5, 28, 15, 2, 640, 638, 3, 2, 2, 2, 640, 639, 3, 2, 2, 2, 641, 642, 3, 2, 2, 2, 642, 643, 7, 9, 2, 2, 643, 694, 3, 2, 2, 2, 644, 645, 7, 81, 2, 2, 645, 648, 7, 8, 2, 2, 646, 649, 5, 72, 37, 2, 647, 649, 5, 28, 15, 2, 648, 646, 3, 2, 2, 2, 648, 647, 3, 2, 2, 2, 649, 650, 3, 2, 2, 2, 650, 651, 7, 9, 2, 2, 651, 694, 3, 2, 2, 2, 652, 654, 7, 82, 2, 2, 653, 655, 7, 8, 2, 2, 654, 653, 3, 2, 2, 2, 654, 655, 3, 2, 2, 2, 655, 656, 3, 2, 2, 2, 656, 658, 7, 117, 2, 2, 657, 659, 7, 9, 2, 2, 658, 657, 3, 2, 2, 2, 658, 659, 3, 2, 2, 2, 659, 694, 3, 2, 2, 2, 660, 661, 7, 8, 2, 2, 661, 662, 5, 28, 15, 2, 662, 663, 7, 9, 2, 2, 663, 664, 5, 72, 37, 26, 664, 694, 3, 2, 2, 2, 665, 666, 9, 2, 2, 2, 666, 694, 5, 72, 37, 25, 667, 668, 7, 19, 2, 2, 668, 694, 5, 72, 37, 23, 669, 670, 9, 3, 2, 2, 670, 694, 5, 72, 37, 22, 671, 672, 9, 4, 2, 2, 672, 694, 5, 72, 37, 18, 673, 674, 7, 4, 2, 2, 674, 679, 5, 72, 37, 2, 675, 676, 7, 12, 2, 2, 676, 678, 5, 72, 37, 2, 677, 675, 3, 2, 2, 2, 678, 681, 3, 2, 2, 2, 679, 677, 3, 2, 2, 2, 679, 680, 3, 2, 2, 2, 680, 682, 3, 2, 2, 2, 681, 679, 3, 2, 2, 2, 682, 683, 7, 5, 2, 2, 683, 694, 3, 2, 2, 2, 684, 694, 7, 117, 2, 2, 685, 694, 7, 108, 2, 2, 686, 688, 7, 94, 2, 2, 687, 686, 3, 2, 2, 2, 688, 689, 3, 2, 2, 2, 689, 687, 3, 2, 2, 2, 689, 690, 3, 2, 2, 2, 690, 694, 3, 2, 2, 2, 691, 694, 7, 95, 2, 2, 692, 694, 7, 92, 2, 2, 693, 631, 3, 2, 2, 2, 693, 636, 3, 2, 2, 2, 693, 644, 3, 2, 2, 2, 693, 652, 3, 2, 2, 2, 693, 660, 3, 2, 2, 2, 693, 665, 3, 2, 2, 2, 693, 667, 3, 2, 2, 2, 693, 669, 3, 2, 2, 2, 693, 671, 3, 2, 2, 2, 693, 673, 3, 2, 2, 2, 693, 684, 3, 2, 2, 2, 693, 685, 3, 2, 2, 2, 693, 687, 3, 2, 2, 2, 693, 691, 3, 2, 2, 2, 693, 692, 3, 2, 2, 2, 694, 755, 3, 2, 2, 2, 695, 696, 12, 21, 2, 2, 696, 697, 9, 5, 2, 2, 697, 754, 5, 72, 37, 22, 698, 699, 12, 20, 2, 2, 699, 700, 9, 6, 2, 2, 700, 754, 5, 72, 37, 21, 701, 702, 12, 19, 2, 2, 702, 703, 9, 7, 2, 2, 703, 754, 5, 72, 37, 20, 704, 705, 12, 17, 2, 2, 705, 706, 9, 8, 2, 2, 706, 754, 5, 72, 37, 18, 707, 708, 12, 16, 2, 2, 708, 709, 7, 24, 2, 2, 709, 754, 5, 72, 37, 17, 710, 711, 12, 15, 2, 2, 711, 712, 7, 26, 2, 2, 712, 754, 5, 72, 37, 16, 713, 714, 12, 14, 2, 2, 714, 715, 7, 27, 2, 2, 715, 754, 5, 72, 37, 15, 716, 717, 12, 13, 2, 2, 717, 718, 7, 36, 2, 2, 718, 754, 5, 72, 37, 14, 719, 720, 12, 12, 2, 2, 720, 721, 7, 37, 2, 2, 721, 754, 5, 72, 37, 13, 722, 723, 12, 11, 2, 2, 723, 724, 7, 14, 2, 2, 724, 725, 5, 72, 37, 2, 725, 726, 7, 11, 2, 2, 726, 727, 5, 72, 37, 12, 727, 754, 3, 2, 2, 2, 728, 729, 12, 10, 2, 2, 729, 730, 7, 38, 2, 2, 730, 754, 5, 72, 37, 10, 731, 732, 12, 9, 2, 2, 732, 733, 7, 39, 2, 2, 733, 754, 5, 72, 37, 9, 734, 735, 12, 33, 2, 2, 735, 736, 7, 15, 2, 2, 736, 754, 7, 117, 2, 2, 737, 738, 12, 32, 2, 2, 738, 739, 7, 16, 2, 2, 739, 754, 7, 117, 2, 2, 740, 741, 12, 31, 2, 2, 741, 743, 7, 8, 2, 2, 742, 744, 5, 74, 38, 2, 743, 742, 3, 2, 2, 2, 743, 744, 3, 2, 2, 2, 744, 745, 3, 2, 2, 2, 745, 754, 7, 9, 2, 2, 746, 747, 12, 27, 2, 2, 747, 748, 7, 6, 2, 2, 748, 749, 5, 70, 36, 2, 749, 750, 7, 7, 2, 2, 750, 754, 3, 2, 2, 2, 751, 752, 12, 24, 2, 2, 752, 754, 9, 2, 2, 2, 753, 695, 3, 2, 2, 2, 753, 698, 3, 2, 2, 2, 753, 701, 3, 2, 2, 2, 753, 704, 3, 2, 2, 2, 753, 707, 3, 2, 2, 2, 753, 710, 3, 2, 2, 2, 753, 713, 3, 2, 2, 2, 753, 716, 3, 2, 2, 2, 753, 719, 3, 2, 2, 2, 753, 722, 3, 2, 2, 2, 753, 728, 3, 2, 2, 2, 753, 731, 3, 2, 2, 2, 753, 734, 3, 2, 2, 2, 753, 737, 3, 2, 2, 2, 753, 740, 3, 2, 2, 2, 753, 746, 3, 2, 2, 2, 753, 751, 3, 2, 2, 2, 754, 757, 3, 2, 2, 2, 755, 753, 3, 2, 2, 2, 755, 756, 3, 2, 2, 2, 756, 73, 3, 2, 2, 2, 757, 755, 3, 2, 2, 2, 758, 763, 5, 72, 37, 2, 759, 760, 7, 12, 2, 2, 760, 762, 5, 72, 37, 2, 761, 759, 3, 2, 2, 2, 762, 765, 3, 2, 2, 2, 763, 761, 3, 2, 2, 2, 763, 764, 3, 2, 2, 2, 764, 75, 3, 2, 2, 2, 765, 763, 3, 2, 2, 2, 766, 768, 7, 83, 2, 2, 767, 769, 5, 78, 40, 2, 768, 767, 3, 2, 2, 2, 768, 769, 3, 2, 2, 2, 769, 770, 3, 2, 2, 2, 770, 771, 7, 93, 2, 2, 771, 77, 3, 2, 2, 2, 772, 773, 7, 8, 2, 2, 773, 778, 5, 80, 41, 2, 774, 775, 7, 12, 2, 2, 775, 777, 5, 80, 41, 2, 776, 774, 3, 2, 2, 2, 777, 780, 3, 2, 2, 2, 778, 776, 3, 2, 2, 2, 778, 779, 3, 2, 2, 2, 779, 781, 3, 2, 2, 2, 780, 778, 3, 2, 2, 2, 781, 782, 7, 9, 2, 2, 782, 79, 3, 2, 2, 2, 783, 784, 7, 84, 2, 2, 784, 799, 7, 94, 2, 2, 785, 786, 7, 85, 2, 2, 786, 799, 7, 117, 2, 2, 787, 788, 7, 86, 2, 2, 788, 799, 7, 94, 2, 2, 789, 790, 7, 87, 2, 2, 790, 799, 5, 72, 37, 2, 791, 792, 7, 88, 2, 2, 792, 799, 5, 72, 37, 2, 793, 796, 7, 42, 2, 2, 794, 797, 7, 53, 2, 2, 795, 797, 5, 72, 37, 2, 796, 794, 3, 2, 2, 2, 796, 795, 3, 2, 2, 2, 797, 799, 3, 2, 2, 2, 798, 783, 3, 2, 2, 2, 798, 785, 3, 2, 2, 2, 798, 787, 3, 2, 2, 2, 798, 789, 3, 2, 2, 2, 798, 791, 3, 2, 2, 2, 798, 793, 3, 2, 2, 2, 799, 81, 3, 2, 2, 2, 800, 802, 5, 84, 43, 2, 801, 800, 3, 2, 2, 2, 802, 805, 3, 2, 2, 2, 803, 801, 3, 2, 2, 2, 803, 804, 3, 2, 2, 2, 804, 83, 3, 2, 2, 2, 805, 803, 3, 2, 2, 2, 806, 810, 5, 86, 44, 2, 807, 810, 5, 88, 45, 2, 808, 810, 5, 90, 46, 2, 809, 806, 3, 2, 2, 2, 809, 807, 3, 2, 2, 2, 809, 808, 3, 2, 2, 2, 810, 85, 3, 2, 2, 2, 811, 812, 7, 153, 2, 2, 812, 816, 7, 124, 2, 2, 813, 814, 7, 152, 2, 2, 814, 816, 7, 124, 2, 2, 815, 811, 3, 2, 2, 2, 815, 813, 3, 2, 2, 2, 816, 87, 3, 2, 2, 2, 817, 819, 7, 122, 2, 2, 818, 820, 5, 92, 47, 2, 819, 818, 3, 2, 2, 2, 819, 820, 3, 2, 2, 2, 820, 89, 3, 2, 2, 2, 821, 822, 7, 121, 2, 2, 822, 827, 5, 94, 48, 2, 823, 824, 7, 125, 2, 2, 824, 826, 5, 94, 48, 2, 825, 823, 3, 2, 2, 2, 826, 829, 3, 2, 2, 2, 827, 825, 3, 2, 2, 2, 827, 828, 3, 2, 2, 2, 828, 91, 3, 2, 2, 2, 829, 827, 3, 2, 2, 2, 830, 854, 5, 94, 48, 2, 831, 832, 7, 123, 2, 2, 832, 854, 5, 94, 48, 2, 833, 834, 5, 94, 48, 2, 834, 835, 7, 125, 2, 2, 835, 836, 7, 153, 2, 2, 836, 854, 3, 2, 2, 2, 837, 838, 7, 126, 2, 2, 838, 839, 5, 94, 48, 2, 839, 840, 7, 127, 2, 2, 840, 841, 7, 125, 2, 2, 841, 842, 7, 153, 2, 2, 842, 854, 3, 2, 2, 2, 843, 844, 7, 126, 2, 2, 844, 845, 5, 94, 48, 2, 845, 846, 7, 125, 2, 2, 846, 847, 7, 153, 2, 2, 847, 848, 7, 127, 2, 2, 848, 854, 3, 2, 2, 2, 849, 850, 7, 126, 2, 2, 850, 851, 5, 94, 48, 2, 851, 852, 7, 127, 2, 2, 852, 854, 3, 2, 2, 2, 853, 830, 3, 2, 2, 2, 853, 831, 3, 2, 2, 2, 853, 833, 3, 2, 2, 2, 853, 837, 3, 2, 2, 2, 853, 843, 3, 2, 2, 2, 853, 849, 3, 2, 2, 2, 854, 93, 3, 2, 2, 2, 855, 856, 8, 48, 1, 2, 856, 857, 7, 128, 2, 2, 857, 858, 5, 94, 48, 2, 858, 859, 7, 129, 2, 2, 859, 870, 3, 2, 2, 2, 860, 861, 9, 9, 2, 2, 861, 870, 5, 94, 48, 10, 862, 870, 7, 153, 2, 2, 863, 870, 7, 151, 2, 2, 864, 865, 7, 139, 2, 2, 865, 866, 7, 153, 2, 2, 866, 870, 7, 140, 2, 2, 867, 870, 7, 141, 2, 2, 868, 870, 7, 150, 2, 2, 869, 855, 3, 2, 2, 2, 869, 860, 3, 2, 2, 2, 869, 862, 3, 2, 2, 2, 869, 863, 3, 2, 2, 2, 869, 864, 3, 2, 2, 2, 869, 867, 3, 2, 2, 2, 869, 868, 3, 2, 2, 2, 870, 885, 3, 2, 2, 2, 871, 872, 12, 12, 2, 2, 872, 873, 7, 130, 2, 2, 873, 884, 5, 94, 48, 13, 874, 875, 12, 11, 2, 2, 875, 876, 9, 10, 2, 2, 876, 884, 5, 94, 48, 12, 877, 878, 12, 9, 2, 2, 878, 879, 9, 11, 2, 2, 879, 884, 5, 94, 48, 10, 880, 881, 12, 8, 2, 2, 881, 882, 9, 12, 2, 2, 882, 884, 5, 94, 48, 9, 883, 871, 3, 2, 2, 2, 883, 874, 3, 2, 2, 2, 883, 877, 3, 2, 2, 2, 883, 880, 3, 2, 2, 2, 884, 887, 3, 2, 2, 2, 885, 883, 3, 2, 2, 2, 885, 886, 3, 2, 2, 2, 886, 95, 3, 2, 2, 2, 887, 885, 3, 2, 2, 2, 90, 105, 110, 116, 133, 142, 152, 158, 166, 173, 182, 187, 193, 198, 203, 210, 217, 222, 234, 237, 239, 250, 257, 262, 268, 270, 278, 284, 296, 310, 316, 322, 328, 333, 337, 346, 353, 359, 370, 431, 435, 446, 465, 474, 479, 484, 491, 504, 509, 521, 535, 554, 563, 570, 575, 580, 582, 588, 595, 601, 604, 612, 615, 618, 628, 640, 648, 654, 658, 679, 689, 693, 743, 753, 755, 763, 768, 778, 796, 798, 803, 809, 815, 819, 827, 853, 869, 883, 885]
\ No newline at end of file
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.java b/src/main/java/dk/camelot64/kickc/parser/KickCParser.java
index 5bc505780..426d8b3c0 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.java
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.java
@@ -54,24 +54,24 @@ public class KickCParser extends Parser {
RULE_declArray = 12, RULE_typeSpecifier = 13, RULE_type = 14, RULE_structRef = 15,
RULE_structDef = 16, RULE_structMembers = 17, RULE_enumRef = 18, RULE_enumDef = 19,
RULE_enumMemberList = 20, RULE_enumMember = 21, RULE_declFunction = 22,
- RULE_parameterListDecl = 23, RULE_parameterDecl = 24, RULE_globalDirective = 25,
- RULE_directive = 26, RULE_stmtSeq = 27, RULE_stmt = 28, RULE_switchCases = 29,
- RULE_switchCase = 30, RULE_forLoop = 31, RULE_forClassicInit = 32, RULE_commaExpr = 33,
- RULE_expr = 34, RULE_parameterList = 35, RULE_declKasm = 36, RULE_asmDirectives = 37,
- RULE_asmDirective = 38, RULE_asmLines = 39, RULE_asmLine = 40, RULE_asmLabel = 41,
- RULE_asmInstruction = 42, RULE_asmBytes = 43, RULE_asmParamMode = 44,
- RULE_asmExpr = 45;
+ RULE_declFunctionBody = 23, RULE_parameterListDecl = 24, RULE_parameterDecl = 25,
+ RULE_globalDirective = 26, RULE_directive = 27, RULE_stmtSeq = 28, RULE_stmt = 29,
+ RULE_switchCases = 30, RULE_switchCase = 31, RULE_forLoop = 32, RULE_forClassicInit = 33,
+ RULE_commaExpr = 34, RULE_expr = 35, RULE_parameterList = 36, RULE_declKasm = 37,
+ RULE_asmDirectives = 38, RULE_asmDirective = 39, RULE_asmLines = 40, RULE_asmLine = 41,
+ RULE_asmLabel = 42, RULE_asmInstruction = 43, RULE_asmBytes = 44, RULE_asmParamMode = 45,
+ RULE_asmExpr = 46;
private static String[] makeRuleNames() {
return new String[] {
"file", "asmFile", "declSeq", "declOrImport", "importDecl", "decl", "declVariables",
"declVariableList", "typeDef", "declVariableInit", "declType", "declPointer",
"declArray", "typeSpecifier", "type", "structRef", "structDef", "structMembers",
"enumRef", "enumDef", "enumMemberList", "enumMember", "declFunction",
- "parameterListDecl", "parameterDecl", "globalDirective", "directive",
- "stmtSeq", "stmt", "switchCases", "switchCase", "forLoop", "forClassicInit",
- "commaExpr", "expr", "parameterList", "declKasm", "asmDirectives", "asmDirective",
- "asmLines", "asmLine", "asmLabel", "asmInstruction", "asmBytes", "asmParamMode",
- "asmExpr"
+ "declFunctionBody", "parameterListDecl", "parameterDecl", "globalDirective",
+ "directive", "stmtSeq", "stmt", "switchCases", "switchCase", "forLoop",
+ "forClassicInit", "commaExpr", "expr", "parameterList", "declKasm", "asmDirectives",
+ "asmDirective", "asmLines", "asmLine", "asmLabel", "asmInstruction",
+ "asmBytes", "asmParamMode", "asmExpr"
};
}
public static final String[] ruleNames = makeRuleNames();
@@ -215,9 +215,9 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(92);
+ setState(94);
declSeq();
- setState(93);
+ setState(95);
match(EOF);
}
}
@@ -262,9 +262,9 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(95);
+ setState(97);
asmLines();
- setState(96);
+ setState(98);
match(EOF);
}
}
@@ -312,17 +312,17 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(101);
+ setState(103);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << TYPEDEF) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 76)) & ~0x3f) == 0 && ((1L << (_la - 76)) & ((1L << (STRUCT - 76)) | (1L << (ENUM - 76)) | (1L << (KICKASM - 76)) | (1L << (SIGNEDNESS - 76)) | (1L << (SIMPLETYPE - 76)) | (1L << (IMPORT - 76)) | (1L << (INCLUDE - 76)) | (1L << (PRAGMA - 76)))) != 0)) {
{
{
- setState(98);
+ setState(100);
declOrImport();
}
}
- setState(103);
+ setState(105);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -369,7 +369,7 @@ public class KickCParser extends Parser {
DeclOrImportContext _localctx = new DeclOrImportContext(_ctx, getState());
enterRule(_localctx, 6, RULE_declOrImport);
try {
- setState(106);
+ setState(108);
_errHandler.sync(this);
switch (_input.LA(1)) {
case TYPEDEFNAME:
@@ -399,7 +399,7 @@ public class KickCParser extends Parser {
case PRAGMA:
enterOuterAlt(_localctx, 1);
{
- setState(104);
+ setState(106);
decl();
}
break;
@@ -407,7 +407,7 @@ public class KickCParser extends Parser {
case INCLUDE:
enterOuterAlt(_localctx, 2);
{
- setState(105);
+ setState(107);
importDecl();
}
break;
@@ -478,16 +478,16 @@ public class KickCParser extends Parser {
ImportDeclContext _localctx = new ImportDeclContext(_ctx, getState());
enterRule(_localctx, 8, RULE_importDecl);
try {
- setState(112);
+ setState(114);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IMPORT:
_localctx = new ImportFileContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(108);
+ setState(110);
match(IMPORT);
- setState(109);
+ setState(111);
match(STRING);
}
break;
@@ -495,9 +495,9 @@ public class KickCParser extends Parser {
_localctx = new IncludeFileContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(110);
+ setState(112);
match(INCLUDE);
- setState(111);
+ setState(113);
match(STRING);
}
break;
@@ -562,63 +562,63 @@ public class KickCParser extends Parser {
DeclContext _localctx = new DeclContext(_ctx, getState());
enterRule(_localctx, 10, RULE_decl);
try {
- setState(129);
+ setState(131);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
- setState(114);
+ setState(116);
declVariables();
- setState(115);
+ setState(117);
match(SEMICOLON);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
- setState(117);
+ setState(119);
structDef();
- setState(118);
+ setState(120);
match(SEMICOLON);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
- setState(120);
+ setState(122);
enumDef();
- setState(121);
+ setState(123);
match(SEMICOLON);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
- setState(123);
+ setState(125);
declFunction();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
- setState(124);
+ setState(126);
declKasm();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
- setState(125);
+ setState(127);
globalDirective();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
- setState(126);
+ setState(128);
typeDef();
- setState(127);
+ setState(129);
match(SEMICOLON);
}
break;
@@ -667,9 +667,9 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(131);
+ setState(133);
declType();
- setState(132);
+ setState(134);
declVariableList(0);
}
}
@@ -734,25 +734,25 @@ public class KickCParser extends Parser {
enterOuterAlt(_localctx, 1);
{
{
- setState(138);
+ setState(140);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASTERISK) {
{
{
- setState(135);
+ setState(137);
declPointer();
}
}
- setState(140);
+ setState(142);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(141);
+ setState(143);
declVariableInit();
}
_ctx.stop = _input.LT(-1);
- setState(154);
+ setState(156);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,6,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
@@ -763,30 +763,30 @@ public class KickCParser extends Parser {
{
_localctx = new DeclVariableListContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_declVariableList);
- setState(143);
+ setState(145);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
- setState(144);
+ setState(146);
match(COMMA);
- setState(148);
+ setState(150);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASTERISK) {
{
{
- setState(145);
+ setState(147);
declPointer();
}
}
- setState(150);
+ setState(152);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(151);
+ setState(153);
declVariableInit();
}
}
}
- setState(156);
+ setState(158);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,6,_ctx);
}
@@ -848,37 +848,37 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(157);
+ setState(159);
match(TYPEDEF);
- setState(158);
+ setState(160);
declType();
- setState(162);
+ setState(164);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASTERISK) {
{
{
- setState(159);
+ setState(161);
declPointer();
}
}
- setState(164);
+ setState(166);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(165);
+ setState(167);
((TypeDefContext)_localctx).NAME = match(NAME);
- setState(169);
+ setState(171);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==BRACKET_BEGIN) {
{
{
- setState(166);
+ setState(168);
declArray();
}
}
- setState(171);
+ setState(173);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -968,39 +968,39 @@ public class KickCParser extends Parser {
int _la;
try {
int _alt;
- setState(194);
+ setState(196);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
_localctx = new DeclVariableInitExprContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(174);
+ setState(176);
match(NAME);
- setState(178);
+ setState(180);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,9,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
- setState(175);
+ setState(177);
declArray();
}
}
}
- setState(180);
+ setState(182);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,9,_ctx);
}
- setState(183);
+ setState(185);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
case 1:
{
- setState(181);
+ setState(183);
match(ASSIGN);
- setState(182);
+ setState(184);
expr(0);
}
break;
@@ -1011,25 +1011,25 @@ public class KickCParser extends Parser {
_localctx = new DeclVariableInitKasmContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(185);
+ setState(187);
match(NAME);
- setState(189);
+ setState(191);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==BRACKET_BEGIN) {
{
{
- setState(186);
+ setState(188);
declArray();
}
}
- setState(191);
+ setState(193);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(192);
+ setState(194);
match(ASSIGN);
- setState(193);
+ setState(195);
declKasm();
}
break;
@@ -1082,33 +1082,33 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(199);
+ setState(201);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0)) {
{
{
- setState(196);
+ setState(198);
directive();
}
}
- setState(201);
+ setState(203);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(202);
+ setState(204);
type(0);
- setState(206);
+ setState(208);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0)) {
{
{
- setState(203);
+ setState(205);
directive();
}
}
- setState(208);
+ setState(210);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -1159,19 +1159,19 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(209);
+ setState(211);
match(ASTERISK);
- setState(213);
+ setState(215);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0)) {
{
{
- setState(210);
+ setState(212);
directive();
}
}
- setState(215);
+ setState(217);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -1220,19 +1220,19 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(216);
- match(BRACKET_BEGIN);
setState(218);
+ match(BRACKET_BEGIN);
+ setState(220);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN))) != 0) || ((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (SIZEOF - 78)) | (1L << (TYPEID - 78)) | (1L << (DEFINED - 78)) | (1L << (LOGIC_NOT - 78)) | (1L << (BOOLEAN - 78)) | (1L << (STRING - 78)) | (1L << (CHAR - 78)) | (1L << (NUMBER - 78)) | (1L << (NAME - 78)))) != 0)) {
{
- setState(217);
+ setState(219);
expr(0);
}
}
- setState(220);
+ setState(222);
match(BRACKET_END);
}
}
@@ -1343,11 +1343,11 @@ public class KickCParser extends Parser {
_ctx = _localctx;
_prevctx = _localctx;
- setState(223);
+ setState(225);
type(0);
}
_ctx.stop = _input.LT(-1);
- setState(235);
+ setState(237);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,19,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
@@ -1355,16 +1355,16 @@ public class KickCParser extends Parser {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
- setState(233);
+ setState(235);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
case 1:
{
_localctx = new TypeSpecifierPointerContext(new TypeSpecifierContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_typeSpecifier);
- setState(225);
+ setState(227);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
- setState(226);
+ setState(228);
match(ASTERISK);
}
break;
@@ -1372,28 +1372,28 @@ public class KickCParser extends Parser {
{
_localctx = new TypeSpecifierArrayContext(new TypeSpecifierContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_typeSpecifier);
- setState(227);
+ setState(229);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
- setState(228);
- match(BRACKET_BEGIN);
setState(230);
+ match(BRACKET_BEGIN);
+ setState(232);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN))) != 0) || ((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (SIZEOF - 78)) | (1L << (TYPEID - 78)) | (1L << (DEFINED - 78)) | (1L << (LOGIC_NOT - 78)) | (1L << (BOOLEAN - 78)) | (1L << (STRING - 78)) | (1L << (CHAR - 78)) | (1L << (NUMBER - 78)) | (1L << (NAME - 78)))) != 0)) {
{
- setState(229);
+ setState(231);
expr(0);
}
}
- setState(232);
+ setState(234);
match(BRACKET_END);
}
break;
}
}
}
- setState(237);
+ setState(239);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,19,_ctx);
}
@@ -1632,7 +1632,7 @@ public class KickCParser extends Parser {
int _alt;
enterOuterAlt(_localctx, 1);
{
- setState(253);
+ setState(255);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,21,_ctx) ) {
case 1:
@@ -1641,11 +1641,11 @@ public class KickCParser extends Parser {
_ctx = _localctx;
_prevctx = _localctx;
- setState(239);
- match(PAR_BEGIN);
- setState(240);
- type(0);
setState(241);
+ match(PAR_BEGIN);
+ setState(242);
+ type(0);
+ setState(243);
match(PAR_END);
}
break;
@@ -1654,7 +1654,7 @@ public class KickCParser extends Parser {
_localctx = new TypeSimpleContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(243);
+ setState(245);
match(SIMPLETYPE);
}
break;
@@ -1663,14 +1663,14 @@ public class KickCParser extends Parser {
_localctx = new TypeSignedSimpleContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(244);
- match(SIGNEDNESS);
setState(246);
+ match(SIGNEDNESS);
+ setState(248);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) {
case 1:
{
- setState(245);
+ setState(247);
match(SIMPLETYPE);
}
break;
@@ -1682,7 +1682,7 @@ public class KickCParser extends Parser {
_localctx = new TypeStructDefContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(248);
+ setState(250);
structDef();
}
break;
@@ -1691,7 +1691,7 @@ public class KickCParser extends Parser {
_localctx = new TypeStructRefContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(249);
+ setState(251);
structRef();
}
break;
@@ -1700,7 +1700,7 @@ public class KickCParser extends Parser {
_localctx = new TypeEnumDefContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(250);
+ setState(252);
enumDef();
}
break;
@@ -1709,7 +1709,7 @@ public class KickCParser extends Parser {
_localctx = new TypeEnumRefContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(251);
+ setState(253);
enumRef();
}
break;
@@ -1718,13 +1718,13 @@ public class KickCParser extends Parser {
_localctx = new TypeNamedRefContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(252);
+ setState(254);
match(TYPEDEFNAME);
}
break;
}
_ctx.stop = _input.LT(-1);
- setState(266);
+ setState(268);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,24,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
@@ -1732,28 +1732,28 @@ public class KickCParser extends Parser {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
- setState(264);
+ setState(266);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) {
case 1:
{
_localctx = new TypeArrayContext(new TypeContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_type);
- setState(255);
+ setState(257);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
- setState(256);
- match(BRACKET_BEGIN);
setState(258);
+ match(BRACKET_BEGIN);
+ setState(260);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN))) != 0) || ((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (SIZEOF - 78)) | (1L << (TYPEID - 78)) | (1L << (DEFINED - 78)) | (1L << (LOGIC_NOT - 78)) | (1L << (BOOLEAN - 78)) | (1L << (STRING - 78)) | (1L << (CHAR - 78)) | (1L << (NUMBER - 78)) | (1L << (NAME - 78)))) != 0)) {
{
- setState(257);
+ setState(259);
expr(0);
}
}
- setState(260);
+ setState(262);
match(BRACKET_END);
}
break;
@@ -1761,18 +1761,18 @@ public class KickCParser extends Parser {
{
_localctx = new TypeProcedureContext(new TypeContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_type);
- setState(261);
- if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
- setState(262);
- match(PAR_BEGIN);
setState(263);
+ if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
+ setState(264);
+ match(PAR_BEGIN);
+ setState(265);
match(PAR_END);
}
break;
}
}
}
- setState(268);
+ setState(270);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,24,_ctx);
}
@@ -1817,9 +1817,9 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(269);
+ setState(271);
match(STRUCT);
- setState(270);
+ setState(272);
match(NAME);
}
}
@@ -1871,35 +1871,35 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(272);
- match(STRUCT);
setState(274);
+ match(STRUCT);
+ setState(276);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NAME) {
{
- setState(273);
+ setState(275);
match(NAME);
}
}
- setState(276);
+ setState(278);
match(CURLY_BEGIN);
- setState(278);
+ setState(280);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
- setState(277);
+ setState(279);
structMembers();
}
}
- setState(280);
+ setState(282);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 76)) & ~0x3f) == 0 && ((1L << (_la - 76)) & ((1L << (STRUCT - 76)) | (1L << (ENUM - 76)) | (1L << (SIGNEDNESS - 76)) | (1L << (SIMPLETYPE - 76)))) != 0) );
- setState(282);
+ setState(284);
match(CURLY_END);
}
}
@@ -1944,9 +1944,9 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(284);
+ setState(286);
declVariables();
- setState(285);
+ setState(287);
match(SEMICOLON);
}
}
@@ -1989,9 +1989,9 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(287);
+ setState(289);
match(ENUM);
- setState(288);
+ setState(290);
match(NAME);
}
}
@@ -2040,23 +2040,23 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(290);
- match(ENUM);
setState(292);
+ match(ENUM);
+ setState(294);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NAME) {
{
- setState(291);
+ setState(293);
match(NAME);
}
}
- setState(294);
- match(CURLY_BEGIN);
- setState(295);
- enumMemberList(0);
setState(296);
+ match(CURLY_BEGIN);
+ setState(297);
+ enumMemberList(0);
+ setState(298);
match(CURLY_END);
}
}
@@ -2114,11 +2114,11 @@ public class KickCParser extends Parser {
enterOuterAlt(_localctx, 1);
{
{
- setState(299);
+ setState(301);
enumMember();
}
_ctx.stop = _input.LT(-1);
- setState(306);
+ setState(308);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,28,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
@@ -2129,16 +2129,16 @@ public class KickCParser extends Parser {
{
_localctx = new EnumMemberListContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_enumMemberList);
- setState(301);
- if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
- setState(302);
- match(COMMA);
setState(303);
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
+ setState(304);
+ match(COMMA);
+ setState(305);
enumMember();
}
}
}
- setState(308);
+ setState(310);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,28,_ctx);
}
@@ -2186,16 +2186,16 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(309);
+ setState(311);
match(NAME);
- setState(312);
+ setState(314);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) {
case 1:
{
- setState(310);
+ setState(312);
match(ASSIGN);
- setState(311);
+ setState(313);
expr(0);
}
break;
@@ -2220,8 +2220,10 @@ public class KickCParser extends Parser {
public TerminalNode NAME() { return getToken(KickCParser.NAME, 0); }
public TerminalNode PAR_BEGIN() { return getToken(KickCParser.PAR_BEGIN, 0); }
public TerminalNode PAR_END() { return getToken(KickCParser.PAR_END, 0); }
- public TerminalNode CURLY_BEGIN() { return getToken(KickCParser.CURLY_BEGIN, 0); }
- public TerminalNode CURLY_END() { return getToken(KickCParser.CURLY_END, 0); }
+ public DeclFunctionBodyContext declFunctionBody() {
+ return getRuleContext(DeclFunctionBodyContext.class,0);
+ }
+ public TerminalNode SEMICOLON() { return getToken(KickCParser.SEMICOLON, 0); }
public List declPointer() {
return getRuleContexts(DeclPointerContext.class);
}
@@ -2231,9 +2233,6 @@ public class KickCParser extends Parser {
public ParameterListDeclContext parameterListDecl() {
return getRuleContext(ParameterListDeclContext.class,0);
}
- public StmtSeqContext stmtSeq() {
- return getRuleContext(StmtSeqContext.class,0);
- }
public DeclFunctionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@@ -2260,51 +2259,114 @@ public class KickCParser extends Parser {
try {
enterOuterAlt(_localctx, 1);
{
- setState(314);
+ setState(316);
declType();
- setState(318);
+ setState(320);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASTERISK) {
{
{
- setState(315);
+ setState(317);
declPointer();
}
}
- setState(320);
+ setState(322);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(321);
+ setState(323);
match(NAME);
- setState(322);
- match(PAR_BEGIN);
setState(324);
+ match(PAR_BEGIN);
+ setState(326);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 76)) & ~0x3f) == 0 && ((1L << (_la - 76)) & ((1L << (STRUCT - 76)) | (1L << (ENUM - 76)) | (1L << (SIGNEDNESS - 76)) | (1L << (SIMPLETYPE - 76)))) != 0)) {
{
- setState(323);
+ setState(325);
parameterListDecl();
}
}
- setState(326);
+ setState(328);
match(PAR_END);
- setState(327);
+ setState(331);
+ _errHandler.sync(this);
+ switch (_input.LA(1)) {
+ case CURLY_BEGIN:
+ {
+ setState(329);
+ declFunctionBody();
+ }
+ break;
+ case SEMICOLON:
+ {
+ setState(330);
+ match(SEMICOLON);
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ }
+ catch (RecognitionException re) {
+ _localctx.exception = re;
+ _errHandler.reportError(this, re);
+ _errHandler.recover(this, re);
+ }
+ finally {
+ exitRule();
+ }
+ return _localctx;
+ }
+
+ public static class DeclFunctionBodyContext extends ParserRuleContext {
+ public TerminalNode CURLY_BEGIN() { return getToken(KickCParser.CURLY_BEGIN, 0); }
+ public TerminalNode CURLY_END() { return getToken(KickCParser.CURLY_END, 0); }
+ public StmtSeqContext stmtSeq() {
+ return getRuleContext(StmtSeqContext.class,0);
+ }
+ public DeclFunctionBodyContext(ParserRuleContext parent, int invokingState) {
+ super(parent, invokingState);
+ }
+ @Override public int getRuleIndex() { return RULE_declFunctionBody; }
+ @Override
+ public void enterRule(ParseTreeListener listener) {
+ if ( listener instanceof KickCParserListener ) ((KickCParserListener)listener).enterDeclFunctionBody(this);
+ }
+ @Override
+ public void exitRule(ParseTreeListener listener) {
+ if ( listener instanceof KickCParserListener ) ((KickCParserListener)listener).exitDeclFunctionBody(this);
+ }
+ @Override
+ public T accept(ParseTreeVisitor extends T> visitor) {
+ if ( visitor instanceof KickCParserVisitor ) return ((KickCParserVisitor extends T>)visitor).visitDeclFunctionBody(this);
+ else return visitor.visitChildren(this);
+ }
+ }
+
+ public final DeclFunctionBodyContext declFunctionBody() throws RecognitionException {
+ DeclFunctionBodyContext _localctx = new DeclFunctionBodyContext(_ctx, getState());
+ enterRule(_localctx, 46, RULE_declFunctionBody);
+ int _la;
+ try {
+ enterOuterAlt(_localctx, 1);
+ {
+ setState(333);
match(CURLY_BEGIN);
- setState(329);
+ setState(335);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (IF - 64)) | (1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (DEFINED - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) {
{
- setState(328);
+ setState(334);
stmtSeq();
}
}
- setState(331);
+ setState(337);
match(CURLY_END);
}
}
@@ -2351,26 +2413,26 @@ public class KickCParser extends Parser {
public final ParameterListDeclContext parameterListDecl() throws RecognitionException {
ParameterListDeclContext _localctx = new ParameterListDeclContext(_ctx, getState());
- enterRule(_localctx, 46, RULE_parameterListDecl);
+ enterRule(_localctx, 48, RULE_parameterListDecl);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(333);
+ setState(339);
parameterDecl();
- setState(338);
+ setState(344);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(334);
+ setState(340);
match(COMMA);
- setState(335);
+ setState(341);
parameterDecl();
}
}
- setState(340);
+ setState(346);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -2444,33 +2506,33 @@ public class KickCParser extends Parser {
public final ParameterDeclContext parameterDecl() throws RecognitionException {
ParameterDeclContext _localctx = new ParameterDeclContext(_ctx, getState());
- enterRule(_localctx, 48, RULE_parameterDecl);
+ enterRule(_localctx, 50, RULE_parameterDecl);
int _la;
try {
- setState(351);
+ setState(357);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) {
case 1:
_localctx = new ParameterDeclTypeContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(341);
+ setState(347);
declType();
- setState(345);
+ setState(351);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASTERISK) {
{
{
- setState(342);
+ setState(348);
declPointer();
}
}
- setState(347);
+ setState(353);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(348);
+ setState(354);
match(NAME);
}
break;
@@ -2478,7 +2540,7 @@ public class KickCParser extends Parser {
_localctx = new ParameterDeclVoidContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(350);
+ setState(356);
match(SIMPLETYPE);
}
break;
@@ -2733,43 +2795,43 @@ public class KickCParser extends Parser {
public final GlobalDirectiveContext globalDirective() throws RecognitionException {
GlobalDirectiveContext _localctx = new GlobalDirectiveContext(_ctx, getState());
- enterRule(_localctx, 50, RULE_globalDirective);
+ enterRule(_localctx, 52, RULE_globalDirective);
int _la;
try {
- setState(427);
+ setState(433);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
case 1:
_localctx = new GlobalDirectiveReserveContext(_localctx);
enterOuterAlt(_localctx, 1);
{
{
- setState(353);
+ setState(359);
match(PRAGMA);
- setState(354);
+ setState(360);
match(RESERVE);
}
- setState(356);
- match(PAR_BEGIN);
- setState(357);
- match(NUMBER);
setState(362);
+ match(PAR_BEGIN);
+ setState(363);
+ match(NUMBER);
+ setState(368);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(358);
+ setState(364);
match(COMMA);
- setState(359);
+ setState(365);
match(NUMBER);
}
}
- setState(364);
+ setState(370);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(365);
+ setState(371);
match(PAR_END);
}
break;
@@ -2778,16 +2840,16 @@ public class KickCParser extends Parser {
enterOuterAlt(_localctx, 2);
{
{
- setState(366);
+ setState(372);
match(PRAGMA);
- setState(367);
+ setState(373);
match(PC);
}
- setState(369);
+ setState(375);
match(PAR_BEGIN);
- setState(370);
+ setState(376);
match(NUMBER);
- setState(371);
+ setState(377);
match(PAR_END);
}
break;
@@ -2796,28 +2858,10 @@ public class KickCParser extends Parser {
enterOuterAlt(_localctx, 3);
{
{
- setState(372);
- match(PRAGMA);
- setState(373);
- match(TARGET);
- }
- setState(375);
- match(PAR_BEGIN);
- setState(376);
- match(NAME);
- setState(377);
- match(PAR_END);
- }
- break;
- case 4:
- _localctx = new GlobalDirectiveCpuContext(_localctx);
- enterOuterAlt(_localctx, 4);
- {
- {
setState(378);
match(PRAGMA);
setState(379);
- match(CPU);
+ match(TARGET);
}
setState(381);
match(PAR_BEGIN);
@@ -2827,51 +2871,51 @@ public class KickCParser extends Parser {
match(PAR_END);
}
break;
- case 5:
- _localctx = new GlobalDirectiveLinkScriptContext(_localctx);
- enterOuterAlt(_localctx, 5);
+ case 4:
+ _localctx = new GlobalDirectiveCpuContext(_localctx);
+ enterOuterAlt(_localctx, 4);
{
{
setState(384);
match(PRAGMA);
setState(385);
- match(LINK);
+ match(CPU);
}
setState(387);
match(PAR_BEGIN);
setState(388);
- match(STRING);
+ match(NAME);
setState(389);
match(PAR_END);
}
break;
+ case 5:
+ _localctx = new GlobalDirectiveLinkScriptContext(_localctx);
+ enterOuterAlt(_localctx, 5);
+ {
+ {
+ setState(390);
+ match(PRAGMA);
+ setState(391);
+ match(LINK);
+ }
+ setState(393);
+ match(PAR_BEGIN);
+ setState(394);
+ match(STRING);
+ setState(395);
+ match(PAR_END);
+ }
+ break;
case 6:
_localctx = new GlobalDirectiveCodeSegContext(_localctx);
enterOuterAlt(_localctx, 6);
{
{
- setState(390);
- match(PRAGMA);
- setState(391);
- match(CODESEG);
- }
- setState(393);
- match(PAR_BEGIN);
- setState(394);
- match(NAME);
- setState(395);
- match(PAR_END);
- }
- break;
- case 7:
- _localctx = new GlobalDirectiveDataSegContext(_localctx);
- enterOuterAlt(_localctx, 7);
- {
- {
setState(396);
match(PRAGMA);
setState(397);
- match(DATASEG);
+ match(CODESEG);
}
setState(399);
match(PAR_BEGIN);
@@ -2881,15 +2925,15 @@ public class KickCParser extends Parser {
match(PAR_END);
}
break;
- case 8:
- _localctx = new GlobalDirectiveEncodingContext(_localctx);
- enterOuterAlt(_localctx, 8);
+ case 7:
+ _localctx = new GlobalDirectiveDataSegContext(_localctx);
+ enterOuterAlt(_localctx, 7);
{
{
setState(402);
match(PRAGMA);
setState(403);
- match(ENCODING);
+ match(DATASEG);
}
setState(405);
match(PAR_BEGIN);
@@ -2899,55 +2943,73 @@ public class KickCParser extends Parser {
match(PAR_END);
}
break;
- case 9:
- _localctx = new GlobalDirectiveCallingContext(_localctx);
- enterOuterAlt(_localctx, 9);
+ case 8:
+ _localctx = new GlobalDirectiveEncodingContext(_localctx);
+ enterOuterAlt(_localctx, 8);
{
{
setState(408);
match(PRAGMA);
setState(409);
- match(CALLING);
+ match(ENCODING);
}
setState(411);
match(PAR_BEGIN);
setState(412);
- match(CALLINGCONVENTION);
+ match(NAME);
setState(413);
match(PAR_END);
}
break;
+ case 9:
+ _localctx = new GlobalDirectiveCallingContext(_localctx);
+ enterOuterAlt(_localctx, 9);
+ {
+ {
+ setState(414);
+ match(PRAGMA);
+ setState(415);
+ match(CALLING);
+ }
+ setState(417);
+ match(PAR_BEGIN);
+ setState(418);
+ match(CALLINGCONVENTION);
+ setState(419);
+ match(PAR_END);
+ }
+ break;
case 10:
_localctx = new GlobalDirectiveVarModelContext(_localctx);
enterOuterAlt(_localctx, 10);
{
{
- setState(414);
+ setState(420);
match(PRAGMA);
- setState(415);
+ setState(421);
match(VARMODEL);
}
- setState(417);
- match(PAR_BEGIN);
- setState(418);
- match(NAME);
setState(423);
+ match(PAR_BEGIN);
+ setState(424);
+ match(NAME);
+ setState(429);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(419);
+ setState(425);
match(COMMA);
- setState(420);
+ setState(426);
match(NAME);
}
}
- setState(425);
+ setState(431);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(426);
+ setState(432);
match(PAR_END);
}
break;
@@ -3272,17 +3334,17 @@ public class KickCParser extends Parser {
public final DirectiveContext directive() throws RecognitionException {
DirectiveContext _localctx = new DirectiveContext(_ctx, getState());
- enterRule(_localctx, 52, RULE_directive);
+ enterRule(_localctx, 54, RULE_directive);
int _la;
try {
- setState(471);
+ setState(477);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONST:
_localctx = new DirectiveConstContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(429);
+ setState(435);
match(CONST);
}
break;
@@ -3290,13 +3352,13 @@ public class KickCParser extends Parser {
_localctx = new DirectiveAlignContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(430);
+ setState(436);
match(ALIGN);
- setState(431);
+ setState(437);
match(PAR_BEGIN);
- setState(432);
+ setState(438);
match(NUMBER);
- setState(433);
+ setState(439);
match(PAR_END);
}
break;
@@ -3304,20 +3366,20 @@ public class KickCParser extends Parser {
_localctx = new DirectiveRegisterContext(_localctx);
enterOuterAlt(_localctx, 3);
{
- setState(434);
+ setState(440);
match(REGISTER);
- setState(438);
+ setState(444);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
case 1:
{
- setState(435);
+ setState(441);
match(PAR_BEGIN);
{
- setState(436);
+ setState(442);
match(NAME);
}
- setState(437);
+ setState(443);
match(PAR_END);
}
break;
@@ -3328,7 +3390,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveMemoryAreaZpContext(_localctx);
enterOuterAlt(_localctx, 4);
{
- setState(440);
+ setState(446);
match(ADDRESS_ZEROPAGE);
}
break;
@@ -3336,7 +3398,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveMemoryAreaMainContext(_localctx);
enterOuterAlt(_localctx, 5);
{
- setState(441);
+ setState(447);
match(ADDRESS_MAINMEM);
}
break;
@@ -3344,15 +3406,15 @@ public class KickCParser extends Parser {
_localctx = new DirectiveMemoryAreaAddressContext(_localctx);
enterOuterAlt(_localctx, 6);
{
- setState(442);
+ setState(448);
match(ADDRESS);
- setState(443);
+ setState(449);
match(PAR_BEGIN);
{
- setState(444);
+ setState(450);
match(NUMBER);
}
- setState(445);
+ setState(451);
match(PAR_END);
}
break;
@@ -3360,7 +3422,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveVolatileContext(_localctx);
enterOuterAlt(_localctx, 7);
{
- setState(446);
+ setState(452);
match(VOLATILE);
}
break;
@@ -3368,7 +3430,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveStaticContext(_localctx);
enterOuterAlt(_localctx, 8);
{
- setState(447);
+ setState(453);
match(STATIC);
}
break;
@@ -3376,7 +3438,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveFormSsaContext(_localctx);
enterOuterAlt(_localctx, 9);
{
- setState(448);
+ setState(454);
match(FORM_SSA);
}
break;
@@ -3384,7 +3446,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveFormMaContext(_localctx);
enterOuterAlt(_localctx, 10);
{
- setState(449);
+ setState(455);
match(FORM_MA);
}
break;
@@ -3392,7 +3454,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveExternContext(_localctx);
enterOuterAlt(_localctx, 11);
{
- setState(450);
+ setState(456);
match(EXTERN);
}
break;
@@ -3400,7 +3462,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveExportContext(_localctx);
enterOuterAlt(_localctx, 12);
{
- setState(451);
+ setState(457);
match(EXPORT);
}
break;
@@ -3408,7 +3470,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveInlineContext(_localctx);
enterOuterAlt(_localctx, 13);
{
- setState(452);
+ setState(458);
match(INLINE);
}
break;
@@ -3416,18 +3478,18 @@ public class KickCParser extends Parser {
_localctx = new DirectiveInterruptContext(_localctx);
enterOuterAlt(_localctx, 14);
{
- setState(453);
+ setState(459);
match(INTERRUPT);
- setState(457);
+ setState(463);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,41,_ctx) ) {
case 1:
{
- setState(454);
+ setState(460);
match(PAR_BEGIN);
- setState(455);
+ setState(461);
match(NAME);
- setState(456);
+ setState(462);
match(PAR_END);
}
break;
@@ -3438,29 +3500,29 @@ public class KickCParser extends Parser {
_localctx = new DirectiveReserveZpContext(_localctx);
enterOuterAlt(_localctx, 15);
{
- setState(459);
+ setState(465);
match(RESERVE);
- setState(460);
- match(PAR_BEGIN);
- setState(461);
- match(NUMBER);
setState(466);
+ match(PAR_BEGIN);
+ setState(467);
+ match(NUMBER);
+ setState(472);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(462);
+ setState(468);
match(COMMA);
- setState(463);
+ setState(469);
match(NUMBER);
}
}
- setState(468);
+ setState(474);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(469);
+ setState(475);
match(PAR_END);
}
break;
@@ -3468,7 +3530,7 @@ public class KickCParser extends Parser {
_localctx = new DirectiveCallingConventionContext(_localctx);
enterOuterAlt(_localctx, 16);
{
- setState(470);
+ setState(476);
match(CALLINGCONVENTION);
}
break;
@@ -3515,22 +3577,22 @@ public class KickCParser extends Parser {
public final StmtSeqContext stmtSeq() throws RecognitionException {
StmtSeqContext _localctx = new StmtSeqContext(_ctx, getState());
- enterRule(_localctx, 54, RULE_stmtSeq);
+ enterRule(_localctx, 56, RULE_stmtSeq);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(474);
+ setState(480);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
- setState(473);
+ setState(479);
stmt();
}
}
- setState(476);
+ setState(482);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (IF - 64)) | (1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (DEFINED - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0) );
@@ -3874,19 +3936,19 @@ public class KickCParser extends Parser {
public final StmtContext stmt() throws RecognitionException {
StmtContext _localctx = new StmtContext(_ctx, getState());
- enterRule(_localctx, 56, RULE_stmt);
+ enterRule(_localctx, 58, RULE_stmt);
int _la;
try {
- setState(562);
+ setState(568);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) {
case 1:
_localctx = new StmtDeclVarContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(478);
+ setState(484);
declVariables();
- setState(479);
+ setState(485);
match(SEMICOLON);
}
break;
@@ -3894,19 +3956,19 @@ public class KickCParser extends Parser {
_localctx = new StmtBlockContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(481);
+ setState(487);
match(CURLY_BEGIN);
- setState(483);
+ setState(489);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (IF - 64)) | (1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (DEFINED - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) {
{
- setState(482);
+ setState(488);
stmtSeq();
}
}
- setState(485);
+ setState(491);
match(CURLY_END);
}
break;
@@ -3914,9 +3976,9 @@ public class KickCParser extends Parser {
_localctx = new StmtExprContext(_localctx);
enterOuterAlt(_localctx, 3);
{
- setState(486);
+ setState(492);
commaExpr(0);
- setState(487);
+ setState(493);
match(SEMICOLON);
}
break;
@@ -3924,24 +3986,24 @@ public class KickCParser extends Parser {
_localctx = new StmtIfElseContext(_localctx);
enterOuterAlt(_localctx, 4);
{
- setState(489);
+ setState(495);
match(IF);
- setState(490);
- match(PAR_BEGIN);
- setState(491);
- commaExpr(0);
- setState(492);
- match(PAR_END);
- setState(493);
- stmt();
setState(496);
+ match(PAR_BEGIN);
+ setState(497);
+ commaExpr(0);
+ setState(498);
+ match(PAR_END);
+ setState(499);
+ stmt();
+ setState(502);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) {
case 1:
{
- setState(494);
+ setState(500);
match(ELSE);
- setState(495);
+ setState(501);
stmt();
}
break;
@@ -3952,29 +4014,29 @@ public class KickCParser extends Parser {
_localctx = new StmtWhileContext(_localctx);
enterOuterAlt(_localctx, 5);
{
- setState(501);
+ setState(507);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0)) {
{
{
- setState(498);
+ setState(504);
directive();
}
}
- setState(503);
+ setState(509);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(504);
+ setState(510);
match(WHILE);
- setState(505);
+ setState(511);
match(PAR_BEGIN);
- setState(506);
+ setState(512);
commaExpr(0);
- setState(507);
+ setState(513);
match(PAR_END);
- setState(508);
+ setState(514);
stmt();
}
break;
@@ -3982,33 +4044,33 @@ public class KickCParser extends Parser {
_localctx = new StmtDoWhileContext(_localctx);
enterOuterAlt(_localctx, 6);
{
- setState(513);
+ setState(519);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0)) {
{
{
- setState(510);
+ setState(516);
directive();
}
}
- setState(515);
+ setState(521);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(516);
- match(DO);
- setState(517);
- stmt();
- setState(518);
- match(WHILE);
- setState(519);
- match(PAR_BEGIN);
- setState(520);
- commaExpr(0);
- setState(521);
- match(PAR_END);
setState(522);
+ match(DO);
+ setState(523);
+ stmt();
+ setState(524);
+ match(WHILE);
+ setState(525);
+ match(PAR_BEGIN);
+ setState(526);
+ commaExpr(0);
+ setState(527);
+ match(PAR_END);
+ setState(528);
match(SEMICOLON);
}
break;
@@ -4016,29 +4078,29 @@ public class KickCParser extends Parser {
_localctx = new StmtForContext(_localctx);
enterOuterAlt(_localctx, 7);
{
- setState(527);
+ setState(533);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0)) {
{
{
- setState(524);
+ setState(530);
directive();
}
}
- setState(529);
+ setState(535);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(530);
+ setState(536);
match(FOR);
- setState(531);
+ setState(537);
match(PAR_BEGIN);
- setState(532);
+ setState(538);
forLoop();
- setState(533);
+ setState(539);
match(PAR_END);
- setState(534);
+ setState(540);
stmt();
}
break;
@@ -4046,19 +4108,19 @@ public class KickCParser extends Parser {
_localctx = new StmtSwitchContext(_localctx);
enterOuterAlt(_localctx, 8);
{
- setState(536);
- match(SWITCH);
- setState(537);
- match(PAR_BEGIN);
- setState(538);
- commaExpr(0);
- setState(539);
- match(PAR_END);
- setState(540);
- match(CURLY_BEGIN);
- setState(541);
- switchCases();
setState(542);
+ match(SWITCH);
+ setState(543);
+ match(PAR_BEGIN);
+ setState(544);
+ commaExpr(0);
+ setState(545);
+ match(PAR_END);
+ setState(546);
+ match(CURLY_BEGIN);
+ setState(547);
+ switchCases();
+ setState(548);
match(CURLY_END);
}
break;
@@ -4066,19 +4128,19 @@ public class KickCParser extends Parser {
_localctx = new StmtReturnContext(_localctx);
enterOuterAlt(_localctx, 9);
{
- setState(544);
+ setState(550);
match(RETURN);
- setState(546);
+ setState(552);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN))) != 0) || ((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (SIZEOF - 78)) | (1L << (TYPEID - 78)) | (1L << (DEFINED - 78)) | (1L << (LOGIC_NOT - 78)) | (1L << (BOOLEAN - 78)) | (1L << (STRING - 78)) | (1L << (CHAR - 78)) | (1L << (NUMBER - 78)) | (1L << (NAME - 78)))) != 0)) {
{
- setState(545);
+ setState(551);
commaExpr(0);
}
}
- setState(548);
+ setState(554);
match(SEMICOLON);
}
break;
@@ -4086,9 +4148,9 @@ public class KickCParser extends Parser {
_localctx = new StmtBreakContext(_localctx);
enterOuterAlt(_localctx, 10);
{
- setState(549);
+ setState(555);
match(BREAK);
- setState(550);
+ setState(556);
match(SEMICOLON);
}
break;
@@ -4096,9 +4158,9 @@ public class KickCParser extends Parser {
_localctx = new StmtContinueContext(_localctx);
enterOuterAlt(_localctx, 11);
{
- setState(551);
+ setState(557);
match(CONTINUE);
- setState(552);
+ setState(558);
match(SEMICOLON);
}
break;
@@ -4106,23 +4168,23 @@ public class KickCParser extends Parser {
_localctx = new StmtAsmContext(_localctx);
enterOuterAlt(_localctx, 12);
{
- setState(553);
+ setState(559);
match(ASM);
- setState(555);
+ setState(561);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PAR_BEGIN) {
{
- setState(554);
+ setState(560);
asmDirectives();
}
}
- setState(557);
+ setState(563);
match(CURLY_BEGIN);
- setState(558);
+ setState(564);
asmLines();
- setState(559);
+ setState(565);
match(ASM_CURLY_END);
}
break;
@@ -4130,7 +4192,7 @@ public class KickCParser extends Parser {
_localctx = new StmtDeclKasmContext(_localctx);
enterOuterAlt(_localctx, 13);
{
- setState(561);
+ setState(567);
declKasm();
}
break;
@@ -4180,40 +4242,40 @@ public class KickCParser extends Parser {
public final SwitchCasesContext switchCases() throws RecognitionException {
SwitchCasesContext _localctx = new SwitchCasesContext(_ctx, getState());
- enterRule(_localctx, 58, RULE_switchCases);
+ enterRule(_localctx, 60, RULE_switchCases);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(565);
+ setState(571);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
- setState(564);
+ setState(570);
switchCase();
}
}
- setState(567);
+ setState(573);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CASE );
- setState(574);
+ setState(580);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
- setState(569);
+ setState(575);
match(DEFAULT);
- setState(570);
+ setState(576);
match(COLON);
- setState(572);
+ setState(578);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (IF - 64)) | (1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (DEFINED - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) {
{
- setState(571);
+ setState(577);
stmtSeq();
}
}
@@ -4264,23 +4326,23 @@ public class KickCParser extends Parser {
public final SwitchCaseContext switchCase() throws RecognitionException {
SwitchCaseContext _localctx = new SwitchCaseContext(_ctx, getState());
- enterRule(_localctx, 60, RULE_switchCase);
+ enterRule(_localctx, 62, RULE_switchCase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(576);
+ setState(582);
match(CASE);
- setState(577);
+ setState(583);
expr(0);
- setState(578);
+ setState(584);
match(COLON);
- setState(580);
+ setState(586);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (IF - 64)) | (1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (DEFINED - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) {
{
- setState(579);
+ setState(585);
stmtSeq();
}
}
@@ -4375,30 +4437,30 @@ public class KickCParser extends Parser {
public final ForLoopContext forLoop() throws RecognitionException {
ForLoopContext _localctx = new ForLoopContext(_ctx, getState());
- enterRule(_localctx, 62, RULE_forLoop);
+ enterRule(_localctx, 64, RULE_forLoop);
int _la;
try {
- setState(604);
+ setState(610);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,59,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,60,_ctx) ) {
case 1:
_localctx = new ForClassicContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(582);
+ setState(588);
forClassicInit();
- setState(583);
+ setState(589);
match(SEMICOLON);
- setState(584);
+ setState(590);
commaExpr(0);
- setState(585);
+ setState(591);
match(SEMICOLON);
- setState(587);
+ setState(593);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN))) != 0) || ((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (SIZEOF - 78)) | (1L << (TYPEID - 78)) | (1L << (DEFINED - 78)) | (1L << (LOGIC_NOT - 78)) | (1L << (BOOLEAN - 78)) | (1L << (STRING - 78)) | (1L << (CHAR - 78)) | (1L << (NUMBER - 78)) | (1L << (NAME - 78)))) != 0)) {
{
- setState(586);
+ setState(592);
commaExpr(0);
}
}
@@ -4409,39 +4471,39 @@ public class KickCParser extends Parser {
_localctx = new ForRangeContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(596);
+ setState(602);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 76)) & ~0x3f) == 0 && ((1L << (_la - 76)) & ((1L << (STRUCT - 76)) | (1L << (ENUM - 76)) | (1L << (SIGNEDNESS - 76)) | (1L << (SIMPLETYPE - 76)))) != 0)) {
{
- setState(589);
+ setState(595);
declType();
- setState(593);
+ setState(599);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASTERISK) {
{
{
- setState(590);
+ setState(596);
declPointer();
}
}
- setState(595);
+ setState(601);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
- setState(598);
+ setState(604);
match(NAME);
- setState(599);
+ setState(605);
match(COLON);
- setState(600);
+ setState(606);
expr(0);
- setState(601);
+ setState(607);
match(RANGE);
- setState(602);
+ setState(608);
expr(0);
}
break;
@@ -4510,22 +4572,22 @@ public class KickCParser extends Parser {
public final ForClassicInitContext forClassicInit() throws RecognitionException {
ForClassicInitContext _localctx = new ForClassicInitContext(_ctx, getState());
- enterRule(_localctx, 64, RULE_forClassicInit);
+ enterRule(_localctx, 66, RULE_forClassicInit);
int _la;
try {
- setState(610);
+ setState(616);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,61,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) {
case 1:
_localctx = new ForClassicInitDeclContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(607);
+ setState(613);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << INLINE) | (1L << VOLATILE) | (1L << STATIC) | (1L << INTERRUPT) | (1L << REGISTER) | (1L << ADDRESS) | (1L << ADDRESS_ZEROPAGE) | (1L << ADDRESS_MAINMEM) | (1L << FORM_SSA) | (1L << FORM_MA) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 76)) & ~0x3f) == 0 && ((1L << (_la - 76)) & ((1L << (STRUCT - 76)) | (1L << (ENUM - 76)) | (1L << (SIGNEDNESS - 76)) | (1L << (SIMPLETYPE - 76)))) != 0)) {
{
- setState(606);
+ setState(612);
declVariables();
}
}
@@ -4536,7 +4598,7 @@ public class KickCParser extends Parser {
_localctx = new ForClassicInitExprContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(609);
+ setState(615);
commaExpr(0);
}
break;
@@ -4616,8 +4678,8 @@ public class KickCParser extends Parser {
int _parentState = getState();
CommaExprContext _localctx = new CommaExprContext(_ctx, _parentState);
CommaExprContext _prevctx = _localctx;
- int _startState = 66;
- enterRecursionRule(_localctx, 66, RULE_commaExpr, _p);
+ int _startState = 68;
+ enterRecursionRule(_localctx, 68, RULE_commaExpr, _p);
try {
int _alt;
enterOuterAlt(_localctx, 1);
@@ -4627,13 +4689,13 @@ public class KickCParser extends Parser {
_ctx = _localctx;
_prevctx = _localctx;
- setState(613);
+ setState(619);
expr(0);
}
_ctx.stop = _input.LT(-1);
- setState(620);
+ setState(626);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,62,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,63,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
@@ -4642,18 +4704,18 @@ public class KickCParser extends Parser {
{
_localctx = new CommaSimpleContext(new CommaExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_commaExpr);
- setState(615);
+ setState(621);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
- setState(616);
+ setState(622);
match(COMMA);
- setState(617);
+ setState(623);
expr(0);
}
}
}
- setState(622);
+ setState(628);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,62,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,63,_ctx);
}
}
}
@@ -5208,27 +5270,27 @@ public class KickCParser extends Parser {
int _parentState = getState();
ExprContext _localctx = new ExprContext(_ctx, _parentState);
ExprContext _prevctx = _localctx;
- int _startState = 68;
- enterRecursionRule(_localctx, 68, RULE_expr, _p);
+ int _startState = 70;
+ enterRecursionRule(_localctx, 70, RULE_expr, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
- setState(685);
+ setState(691);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) {
case 1:
{
_localctx = new ExprParContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(624);
+ setState(630);
match(PAR_BEGIN);
- setState(625);
+ setState(631);
commaExpr(0);
- setState(626);
+ setState(632);
match(PAR_END);
}
break;
@@ -5237,27 +5299,27 @@ public class KickCParser extends Parser {
_localctx = new ExprSizeOfContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(628);
+ setState(634);
match(SIZEOF);
- setState(629);
+ setState(635);
match(PAR_BEGIN);
- setState(632);
+ setState(638);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,63,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) {
case 1:
{
- setState(630);
+ setState(636);
expr(0);
}
break;
case 2:
{
- setState(631);
+ setState(637);
typeSpecifier(0);
}
break;
}
- setState(634);
+ setState(640);
match(PAR_END);
}
break;
@@ -5266,27 +5328,27 @@ public class KickCParser extends Parser {
_localctx = new ExprTypeIdContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(636);
+ setState(642);
match(TYPEID);
- setState(637);
+ setState(643);
match(PAR_BEGIN);
- setState(640);
+ setState(646);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,65,_ctx) ) {
case 1:
{
- setState(638);
+ setState(644);
expr(0);
}
break;
case 2:
{
- setState(639);
+ setState(645);
typeSpecifier(0);
}
break;
}
- setState(642);
+ setState(648);
match(PAR_END);
}
break;
@@ -5295,26 +5357,26 @@ public class KickCParser extends Parser {
_localctx = new ExprDefinedContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(644);
+ setState(650);
match(DEFINED);
- setState(646);
+ setState(652);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PAR_BEGIN) {
{
- setState(645);
+ setState(651);
match(PAR_BEGIN);
}
}
- setState(648);
+ setState(654);
match(NAME);
- setState(650);
+ setState(656);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) {
case 1:
{
- setState(649);
+ setState(655);
match(PAR_END);
}
break;
@@ -5326,13 +5388,13 @@ public class KickCParser extends Parser {
_localctx = new ExprCastContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(652);
+ setState(658);
match(PAR_BEGIN);
- setState(653);
+ setState(659);
typeSpecifier(0);
- setState(654);
+ setState(660);
match(PAR_END);
- setState(655);
+ setState(661);
expr(24);
}
break;
@@ -5341,7 +5403,7 @@ public class KickCParser extends Parser {
_localctx = new ExprPreModContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(657);
+ setState(663);
_la = _input.LA(1);
if ( !(_la==INC || _la==DEC) ) {
_errHandler.recoverInline(this);
@@ -5351,7 +5413,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(658);
+ setState(664);
expr(23);
}
break;
@@ -5360,9 +5422,9 @@ public class KickCParser extends Parser {
_localctx = new ExprPtrContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(659);
+ setState(665);
match(ASTERISK);
- setState(660);
+ setState(666);
expr(21);
}
break;
@@ -5371,7 +5433,7 @@ public class KickCParser extends Parser {
_localctx = new ExprUnaryContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(661);
+ setState(667);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << PLUS) | (1L << MINUS) | (1L << AND) | (1L << BIT_NOT))) != 0) || _la==LOGIC_NOT) ) {
_errHandler.recoverInline(this);
@@ -5381,7 +5443,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(662);
+ setState(668);
expr(20);
}
break;
@@ -5390,7 +5452,7 @@ public class KickCParser extends Parser {
_localctx = new ExprUnaryContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(663);
+ setState(669);
_la = _input.LA(1);
if ( !(_la==LESS_THAN || _la==GREATER_THAN) ) {
_errHandler.recoverInline(this);
@@ -5400,7 +5462,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(664);
+ setState(670);
expr(16);
}
break;
@@ -5409,27 +5471,27 @@ public class KickCParser extends Parser {
_localctx = new InitListContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(665);
- match(CURLY_BEGIN);
- setState(666);
- expr(0);
setState(671);
+ match(CURLY_BEGIN);
+ setState(672);
+ expr(0);
+ setState(677);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(667);
+ setState(673);
match(COMMA);
- setState(668);
+ setState(674);
expr(0);
}
}
- setState(673);
+ setState(679);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(674);
+ setState(680);
match(CURLY_END);
}
break;
@@ -5438,7 +5500,7 @@ public class KickCParser extends Parser {
_localctx = new ExprIdContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(676);
+ setState(682);
match(NAME);
}
break;
@@ -5447,7 +5509,7 @@ public class KickCParser extends Parser {
_localctx = new ExprNumberContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(677);
+ setState(683);
match(NUMBER);
}
break;
@@ -5456,7 +5518,7 @@ public class KickCParser extends Parser {
_localctx = new ExprStringContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(679);
+ setState(685);
_errHandler.sync(this);
_alt = 1;
do {
@@ -5464,7 +5526,7 @@ public class KickCParser extends Parser {
case 1:
{
{
- setState(678);
+ setState(684);
match(STRING);
}
}
@@ -5472,9 +5534,9 @@ public class KickCParser extends Parser {
default:
throw new NoViableAltException(this);
}
- setState(681);
+ setState(687);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,68,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,69,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
break;
@@ -5483,7 +5545,7 @@ public class KickCParser extends Parser {
_localctx = new ExprCharContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(683);
+ setState(689);
match(CHAR);
}
break;
@@ -5492,30 +5554,30 @@ public class KickCParser extends Parser {
_localctx = new ExprBoolContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(684);
+ setState(690);
match(BOOLEAN);
}
break;
}
_ctx.stop = _input.LT(-1);
- setState(747);
+ setState(753);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,72,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,73,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
- setState(745);
+ setState(751);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,71,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,72,_ctx) ) {
case 1:
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(687);
+ setState(693);
if (!(precpred(_ctx, 19))) throw new FailedPredicateException(this, "precpred(_ctx, 19)");
- setState(688);
+ setState(694);
_la = _input.LA(1);
if ( !(_la==SHIFT_LEFT || _la==SHIFT_RIGHT) ) {
_errHandler.recoverInline(this);
@@ -5525,7 +5587,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(689);
+ setState(695);
expr(20);
}
break;
@@ -5533,9 +5595,9 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(690);
+ setState(696);
if (!(precpred(_ctx, 18))) throw new FailedPredicateException(this, "precpred(_ctx, 18)");
- setState(691);
+ setState(697);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ASTERISK) | (1L << DIVIDE) | (1L << MODULO))) != 0)) ) {
_errHandler.recoverInline(this);
@@ -5545,7 +5607,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(692);
+ setState(698);
expr(19);
}
break;
@@ -5553,9 +5615,9 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(693);
+ setState(699);
if (!(precpred(_ctx, 17))) throw new FailedPredicateException(this, "precpred(_ctx, 17)");
- setState(694);
+ setState(700);
_la = _input.LA(1);
if ( !(_la==PLUS || _la==MINUS) ) {
_errHandler.recoverInline(this);
@@ -5565,7 +5627,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(695);
+ setState(701);
expr(18);
}
break;
@@ -5573,9 +5635,9 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(696);
+ setState(702);
if (!(precpred(_ctx, 15))) throw new FailedPredicateException(this, "precpred(_ctx, 15)");
- setState(697);
+ setState(703);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << EQUAL) | (1L << NOT_EQUAL) | (1L << LESS_THAN) | (1L << LESS_THAN_EQUAL) | (1L << GREATER_THAN_EQUAL) | (1L << GREATER_THAN))) != 0)) ) {
_errHandler.recoverInline(this);
@@ -5585,7 +5647,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(698);
+ setState(704);
expr(16);
}
break;
@@ -5593,13 +5655,13 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(699);
+ setState(705);
if (!(precpred(_ctx, 14))) throw new FailedPredicateException(this, "precpred(_ctx, 14)");
{
- setState(700);
+ setState(706);
match(AND);
}
- setState(701);
+ setState(707);
expr(15);
}
break;
@@ -5607,13 +5669,13 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(702);
+ setState(708);
if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)");
{
- setState(703);
+ setState(709);
match(BIT_XOR);
}
- setState(704);
+ setState(710);
expr(14);
}
break;
@@ -5621,13 +5683,13 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(705);
+ setState(711);
if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)");
{
- setState(706);
+ setState(712);
match(BIT_OR);
}
- setState(707);
+ setState(713);
expr(13);
}
break;
@@ -5635,13 +5697,13 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(708);
+ setState(714);
if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)");
{
- setState(709);
+ setState(715);
match(LOGIC_AND);
}
- setState(710);
+ setState(716);
expr(12);
}
break;
@@ -5649,13 +5711,13 @@ public class KickCParser extends Parser {
{
_localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(711);
+ setState(717);
if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)");
{
- setState(712);
+ setState(718);
match(LOGIC_OR);
}
- setState(713);
+ setState(719);
expr(11);
}
break;
@@ -5663,15 +5725,15 @@ public class KickCParser extends Parser {
{
_localctx = new ExprTernaryContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(714);
+ setState(720);
if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)");
- setState(715);
+ setState(721);
match(CONDITION);
- setState(716);
+ setState(722);
expr(0);
- setState(717);
+ setState(723);
match(COLON);
- setState(718);
+ setState(724);
expr(10);
}
break;
@@ -5679,11 +5741,11 @@ public class KickCParser extends Parser {
{
_localctx = new ExprAssignmentContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(720);
+ setState(726);
if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)");
- setState(721);
+ setState(727);
match(ASSIGN);
- setState(722);
+ setState(728);
expr(8);
}
break;
@@ -5691,11 +5753,11 @@ public class KickCParser extends Parser {
{
_localctx = new ExprAssignmentCompoundContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(723);
+ setState(729);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
- setState(724);
+ setState(730);
match(ASSIGN_COMPOUND);
- setState(725);
+ setState(731);
expr(7);
}
break;
@@ -5703,11 +5765,11 @@ public class KickCParser extends Parser {
{
_localctx = new ExprDotContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(726);
+ setState(732);
if (!(precpred(_ctx, 31))) throw new FailedPredicateException(this, "precpred(_ctx, 31)");
- setState(727);
+ setState(733);
match(DOT);
- setState(728);
+ setState(734);
match(NAME);
}
break;
@@ -5715,11 +5777,11 @@ public class KickCParser extends Parser {
{
_localctx = new ExprArrowContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(729);
+ setState(735);
if (!(precpred(_ctx, 30))) throw new FailedPredicateException(this, "precpred(_ctx, 30)");
- setState(730);
+ setState(736);
match(ARROW);
- setState(731);
+ setState(737);
match(NAME);
}
break;
@@ -5727,21 +5789,21 @@ public class KickCParser extends Parser {
{
_localctx = new ExprCallContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(732);
+ setState(738);
if (!(precpred(_ctx, 29))) throw new FailedPredicateException(this, "precpred(_ctx, 29)");
- setState(733);
+ setState(739);
match(PAR_BEGIN);
- setState(735);
+ setState(741);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN))) != 0) || ((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (SIZEOF - 78)) | (1L << (TYPEID - 78)) | (1L << (DEFINED - 78)) | (1L << (LOGIC_NOT - 78)) | (1L << (BOOLEAN - 78)) | (1L << (STRING - 78)) | (1L << (CHAR - 78)) | (1L << (NUMBER - 78)) | (1L << (NAME - 78)))) != 0)) {
{
- setState(734);
+ setState(740);
parameterList();
}
}
- setState(737);
+ setState(743);
match(PAR_END);
}
break;
@@ -5749,13 +5811,13 @@ public class KickCParser extends Parser {
{
_localctx = new ExprArrayContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(738);
+ setState(744);
if (!(precpred(_ctx, 25))) throw new FailedPredicateException(this, "precpred(_ctx, 25)");
- setState(739);
+ setState(745);
match(BRACKET_BEGIN);
- setState(740);
+ setState(746);
commaExpr(0);
- setState(741);
+ setState(747);
match(BRACKET_END);
}
break;
@@ -5763,9 +5825,9 @@ public class KickCParser extends Parser {
{
_localctx = new ExprPostModContext(new ExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expr);
- setState(743);
+ setState(749);
if (!(precpred(_ctx, 22))) throw new FailedPredicateException(this, "precpred(_ctx, 22)");
- setState(744);
+ setState(750);
_la = _input.LA(1);
if ( !(_la==INC || _la==DEC) ) {
_errHandler.recoverInline(this);
@@ -5780,9 +5842,9 @@ public class KickCParser extends Parser {
}
}
}
- setState(749);
+ setState(755);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,72,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,73,_ctx);
}
}
}
@@ -5829,26 +5891,26 @@ public class KickCParser extends Parser {
public final ParameterListContext parameterList() throws RecognitionException {
ParameterListContext _localctx = new ParameterListContext(_ctx, getState());
- enterRule(_localctx, 70, RULE_parameterList);
+ enterRule(_localctx, 72, RULE_parameterList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(750);
+ setState(756);
expr(0);
- setState(755);
+ setState(761);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(751);
+ setState(757);
match(COMMA);
- setState(752);
+ setState(758);
expr(0);
}
}
- setState(757);
+ setState(763);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -5892,24 +5954,24 @@ public class KickCParser extends Parser {
public final DeclKasmContext declKasm() throws RecognitionException {
DeclKasmContext _localctx = new DeclKasmContext(_ctx, getState());
- enterRule(_localctx, 72, RULE_declKasm);
+ enterRule(_localctx, 74, RULE_declKasm);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(758);
+ setState(764);
match(KICKASM);
- setState(760);
+ setState(766);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==PAR_BEGIN) {
{
- setState(759);
+ setState(765);
asmDirectives();
}
}
- setState(762);
+ setState(768);
match(KICKASM_BODY);
}
}
@@ -5958,32 +6020,32 @@ public class KickCParser extends Parser {
public final AsmDirectivesContext asmDirectives() throws RecognitionException {
AsmDirectivesContext _localctx = new AsmDirectivesContext(_ctx, getState());
- enterRule(_localctx, 74, RULE_asmDirectives);
+ enterRule(_localctx, 76, RULE_asmDirectives);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(764);
- match(PAR_BEGIN);
- setState(765);
- asmDirective();
setState(770);
+ match(PAR_BEGIN);
+ setState(771);
+ asmDirective();
+ setState(776);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
- setState(766);
+ setState(772);
match(COMMA);
- setState(767);
+ setState(773);
asmDirective();
}
}
- setState(772);
+ setState(778);
_errHandler.sync(this);
_la = _input.LA(1);
}
- setState(773);
+ setState(779);
match(PAR_END);
}
}
@@ -6127,18 +6189,18 @@ public class KickCParser extends Parser {
public final AsmDirectiveContext asmDirective() throws RecognitionException {
AsmDirectiveContext _localctx = new AsmDirectiveContext(_ctx, getState());
- enterRule(_localctx, 76, RULE_asmDirective);
+ enterRule(_localctx, 78, RULE_asmDirective);
try {
- setState(790);
+ setState(796);
_errHandler.sync(this);
switch (_input.LA(1)) {
case RESOURCE:
_localctx = new AsmDirectiveResourceContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(775);
+ setState(781);
match(RESOURCE);
- setState(776);
+ setState(782);
match(STRING);
}
break;
@@ -6146,9 +6208,9 @@ public class KickCParser extends Parser {
_localctx = new AsmDirectiveUsesContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(777);
+ setState(783);
match(USES);
- setState(778);
+ setState(784);
match(NAME);
}
break;
@@ -6156,9 +6218,9 @@ public class KickCParser extends Parser {
_localctx = new AsmDirectiveClobberContext(_localctx);
enterOuterAlt(_localctx, 3);
{
- setState(779);
+ setState(785);
match(CLOBBERS);
- setState(780);
+ setState(786);
match(STRING);
}
break;
@@ -6166,9 +6228,9 @@ public class KickCParser extends Parser {
_localctx = new AsmDirectiveBytesContext(_localctx);
enterOuterAlt(_localctx, 4);
{
- setState(781);
+ setState(787);
match(BYTES);
- setState(782);
+ setState(788);
expr(0);
}
break;
@@ -6176,9 +6238,9 @@ public class KickCParser extends Parser {
_localctx = new AsmDirectiveCyclesContext(_localctx);
enterOuterAlt(_localctx, 5);
{
- setState(783);
+ setState(789);
match(CYCLES);
- setState(784);
+ setState(790);
expr(0);
}
break;
@@ -6186,14 +6248,14 @@ public class KickCParser extends Parser {
_localctx = new AsmDirectiveAddressContext(_localctx);
enterOuterAlt(_localctx, 6);
{
- setState(785);
+ setState(791);
match(PC);
- setState(788);
+ setState(794);
_errHandler.sync(this);
switch (_input.LA(1)) {
case INLINE:
{
- setState(786);
+ setState(792);
match(INLINE);
}
break;
@@ -6218,7 +6280,7 @@ public class KickCParser extends Parser {
case NUMBER:
case NAME:
{
- setState(787);
+ setState(793);
expr(0);
}
break;
@@ -6270,22 +6332,22 @@ public class KickCParser extends Parser {
public final AsmLinesContext asmLines() throws RecognitionException {
AsmLinesContext _localctx = new AsmLinesContext(_ctx, getState());
- enterRule(_localctx, 78, RULE_asmLines);
+ enterRule(_localctx, 80, RULE_asmLines);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(795);
+ setState(801);
_errHandler.sync(this);
_la = _input.LA(1);
while (((((_la - 119)) & ~0x3f) == 0 && ((1L << (_la - 119)) & ((1L << (ASM_BYTE - 119)) | (1L << (ASM_MNEMONIC - 119)) | (1L << (ASM_MULTI_NAME - 119)) | (1L << (ASM_NAME - 119)))) != 0)) {
{
{
- setState(792);
+ setState(798);
asmLine();
}
}
- setState(797);
+ setState(803);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -6333,30 +6395,30 @@ public class KickCParser extends Parser {
public final AsmLineContext asmLine() throws RecognitionException {
AsmLineContext _localctx = new AsmLineContext(_ctx, getState());
- enterRule(_localctx, 80, RULE_asmLine);
+ enterRule(_localctx, 82, RULE_asmLine);
try {
- setState(801);
+ setState(807);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ASM_MULTI_NAME:
case ASM_NAME:
enterOuterAlt(_localctx, 1);
{
- setState(798);
+ setState(804);
asmLabel();
}
break;
case ASM_MNEMONIC:
enterOuterAlt(_localctx, 2);
{
- setState(799);
+ setState(805);
asmInstruction();
}
break;
case ASM_BYTE:
enterOuterAlt(_localctx, 3);
{
- setState(800);
+ setState(806);
asmBytes();
}
break;
@@ -6425,18 +6487,18 @@ public class KickCParser extends Parser {
public final AsmLabelContext asmLabel() throws RecognitionException {
AsmLabelContext _localctx = new AsmLabelContext(_ctx, getState());
- enterRule(_localctx, 82, RULE_asmLabel);
+ enterRule(_localctx, 84, RULE_asmLabel);
try {
- setState(807);
+ setState(813);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ASM_NAME:
_localctx = new AsmLabelNameContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(803);
+ setState(809);
match(ASM_NAME);
- setState(804);
+ setState(810);
match(ASM_COLON);
}
break;
@@ -6444,9 +6506,9 @@ public class KickCParser extends Parser {
_localctx = new AsmLabelMultiContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(805);
+ setState(811);
match(ASM_MULTI_NAME);
- setState(806);
+ setState(812);
match(ASM_COLON);
}
break;
@@ -6491,18 +6553,18 @@ public class KickCParser extends Parser {
public final AsmInstructionContext asmInstruction() throws RecognitionException {
AsmInstructionContext _localctx = new AsmInstructionContext(_ctx, getState());
- enterRule(_localctx, 84, RULE_asmInstruction);
+ enterRule(_localctx, 86, RULE_asmInstruction);
try {
enterOuterAlt(_localctx, 1);
{
- setState(809);
+ setState(815);
match(ASM_MNEMONIC);
- setState(811);
+ setState(817);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,81,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,82,_ctx) ) {
case 1:
{
- setState(810);
+ setState(816);
asmParamMode();
}
break;
@@ -6553,28 +6615,28 @@ public class KickCParser extends Parser {
public final AsmBytesContext asmBytes() throws RecognitionException {
AsmBytesContext _localctx = new AsmBytesContext(_ctx, getState());
- enterRule(_localctx, 86, RULE_asmBytes);
+ enterRule(_localctx, 88, RULE_asmBytes);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
- setState(813);
- match(ASM_BYTE);
- setState(814);
- asmExpr(0);
setState(819);
+ match(ASM_BYTE);
+ setState(820);
+ asmExpr(0);
+ setState(825);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ASM_COMMA) {
{
{
- setState(815);
+ setState(821);
match(ASM_COMMA);
- setState(816);
+ setState(822);
asmExpr(0);
}
}
- setState(821);
+ setState(827);
_errHandler.sync(this);
_la = _input.LA(1);
}
@@ -6732,16 +6794,16 @@ public class KickCParser extends Parser {
public final AsmParamModeContext asmParamMode() throws RecognitionException {
AsmParamModeContext _localctx = new AsmParamModeContext(_ctx, getState());
- enterRule(_localctx, 88, RULE_asmParamMode);
+ enterRule(_localctx, 90, RULE_asmParamMode);
try {
- setState(845);
+ setState(851);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,83,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,84,_ctx) ) {
case 1:
_localctx = new AsmModeAbsContext(_localctx);
enterOuterAlt(_localctx, 1);
{
- setState(822);
+ setState(828);
asmExpr(0);
}
break;
@@ -6749,9 +6811,9 @@ public class KickCParser extends Parser {
_localctx = new AsmModeImmContext(_localctx);
enterOuterAlt(_localctx, 2);
{
- setState(823);
+ setState(829);
match(ASM_IMM);
- setState(824);
+ setState(830);
asmExpr(0);
}
break;
@@ -6759,11 +6821,11 @@ public class KickCParser extends Parser {
_localctx = new AsmModeAbsXYContext(_localctx);
enterOuterAlt(_localctx, 3);
{
- setState(825);
+ setState(831);
asmExpr(0);
- setState(826);
+ setState(832);
match(ASM_COMMA);
- setState(827);
+ setState(833);
match(ASM_NAME);
}
break;
@@ -6771,15 +6833,15 @@ public class KickCParser extends Parser {
_localctx = new AsmModeIndIdxXYContext(_localctx);
enterOuterAlt(_localctx, 4);
{
- setState(829);
+ setState(835);
match(ASM_PAR_BEGIN);
- setState(830);
+ setState(836);
asmExpr(0);
- setState(831);
+ setState(837);
match(ASM_PAR_END);
- setState(832);
+ setState(838);
match(ASM_COMMA);
- setState(833);
+ setState(839);
match(ASM_NAME);
}
break;
@@ -6787,15 +6849,15 @@ public class KickCParser extends Parser {
_localctx = new AsmModeIdxIndXYContext(_localctx);
enterOuterAlt(_localctx, 5);
{
- setState(835);
+ setState(841);
match(ASM_PAR_BEGIN);
- setState(836);
+ setState(842);
asmExpr(0);
- setState(837);
+ setState(843);
match(ASM_COMMA);
- setState(838);
+ setState(844);
match(ASM_NAME);
- setState(839);
+ setState(845);
match(ASM_PAR_END);
}
break;
@@ -6803,11 +6865,11 @@ public class KickCParser extends Parser {
_localctx = new AsmModeIndContext(_localctx);
enterOuterAlt(_localctx, 6);
{
- setState(841);
+ setState(847);
match(ASM_PAR_BEGIN);
- setState(842);
+ setState(848);
asmExpr(0);
- setState(843);
+ setState(849);
match(ASM_PAR_END);
}
break;
@@ -7005,14 +7067,14 @@ public class KickCParser extends Parser {
int _parentState = getState();
AsmExprContext _localctx = new AsmExprContext(_ctx, _parentState);
AsmExprContext _prevctx = _localctx;
- int _startState = 90;
- enterRecursionRule(_localctx, 90, RULE_asmExpr, _p);
+ int _startState = 92;
+ enterRecursionRule(_localctx, 92, RULE_asmExpr, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
- setState(861);
+ setState(867);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ASM_BRACKET_BEGIN:
@@ -7021,11 +7083,11 @@ public class KickCParser extends Parser {
_ctx = _localctx;
_prevctx = _localctx;
- setState(848);
+ setState(854);
match(ASM_BRACKET_BEGIN);
- setState(849);
+ setState(855);
asmExpr(0);
- setState(850);
+ setState(856);
match(ASM_BRACKET_END);
}
break;
@@ -7037,7 +7099,7 @@ public class KickCParser extends Parser {
_localctx = new AsmExprUnaryContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(852);
+ setState(858);
_la = _input.LA(1);
if ( !(((((_la - 131)) & ~0x3f) == 0 && ((1L << (_la - 131)) & ((1L << (ASM_PLUS - 131)) | (1L << (ASM_MINUS - 131)) | (1L << (ASM_LESS_THAN - 131)) | (1L << (ASM_GREATER_THAN - 131)))) != 0)) ) {
_errHandler.recoverInline(this);
@@ -7047,7 +7109,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(853);
+ setState(859);
asmExpr(8);
}
break;
@@ -7056,7 +7118,7 @@ public class KickCParser extends Parser {
_localctx = new AsmExprLabelContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(854);
+ setState(860);
match(ASM_NAME);
}
break;
@@ -7065,7 +7127,7 @@ public class KickCParser extends Parser {
_localctx = new AsmExprLabelRelContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(855);
+ setState(861);
match(ASM_MULTI_REL);
}
break;
@@ -7074,11 +7136,11 @@ public class KickCParser extends Parser {
_localctx = new AsmExprReplaceContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(856);
+ setState(862);
match(ASM_CURLY_BEGIN);
- setState(857);
+ setState(863);
match(ASM_NAME);
- setState(858);
+ setState(864);
match(ASM_CURLY_END);
}
break;
@@ -7087,7 +7149,7 @@ public class KickCParser extends Parser {
_localctx = new AsmExprIntContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(859);
+ setState(865);
match(ASM_NUMBER);
}
break;
@@ -7096,7 +7158,7 @@ public class KickCParser extends Parser {
_localctx = new AsmExprCharContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
- setState(860);
+ setState(866);
match(ASM_CHAR);
}
break;
@@ -7104,28 +7166,28 @@ public class KickCParser extends Parser {
throw new NoViableAltException(this);
}
_ctx.stop = _input.LT(-1);
- setState(877);
+ setState(883);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,86,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,87,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
- setState(875);
+ setState(881);
_errHandler.sync(this);
- switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
+ switch ( getInterpreter().adaptivePredict(_input,86,_ctx) ) {
case 1:
{
_localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_asmExpr);
- setState(863);
+ setState(869);
if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)");
{
- setState(864);
+ setState(870);
match(ASM_DOT);
}
- setState(865);
+ setState(871);
asmExpr(11);
}
break;
@@ -7133,9 +7195,9 @@ public class KickCParser extends Parser {
{
_localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_asmExpr);
- setState(866);
+ setState(872);
if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)");
- setState(867);
+ setState(873);
_la = _input.LA(1);
if ( !(_la==ASM_SHIFT_LEFT || _la==ASM_SHIFT_RIGHT) ) {
_errHandler.recoverInline(this);
@@ -7145,7 +7207,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(868);
+ setState(874);
asmExpr(10);
}
break;
@@ -7153,9 +7215,9 @@ public class KickCParser extends Parser {
{
_localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_asmExpr);
- setState(869);
+ setState(875);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
- setState(870);
+ setState(876);
_la = _input.LA(1);
if ( !(_la==ASM_MULTIPLY || _la==ASM_DIVIDE) ) {
_errHandler.recoverInline(this);
@@ -7165,7 +7227,7 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(871);
+ setState(877);
asmExpr(8);
}
break;
@@ -7173,9 +7235,9 @@ public class KickCParser extends Parser {
{
_localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_asmExpr);
- setState(872);
+ setState(878);
if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
- setState(873);
+ setState(879);
_la = _input.LA(1);
if ( !(_la==ASM_PLUS || _la==ASM_MINUS) ) {
_errHandler.recoverInline(this);
@@ -7185,16 +7247,16 @@ public class KickCParser extends Parser {
_errHandler.reportMatch(this);
consume();
}
- setState(874);
+ setState(880);
asmExpr(7);
}
break;
}
}
}
- setState(879);
+ setState(885);
_errHandler.sync(this);
- _alt = getInterpreter().adaptivePredict(_input,86,_ctx);
+ _alt = getInterpreter().adaptivePredict(_input,87,_ctx);
}
}
}
@@ -7219,11 +7281,11 @@ public class KickCParser extends Parser {
return type_sempred((TypeContext)_localctx, predIndex);
case 20:
return enumMemberList_sempred((EnumMemberListContext)_localctx, predIndex);
- case 33:
- return commaExpr_sempred((CommaExprContext)_localctx, predIndex);
case 34:
+ return commaExpr_sempred((CommaExprContext)_localctx, predIndex);
+ case 35:
return expr_sempred((ExprContext)_localctx, predIndex);
- case 45:
+ case 46:
return asmExpr_sempred((AsmExprContext)_localctx, predIndex);
}
return true;
@@ -7321,354 +7383,357 @@ public class KickCParser extends Parser {
}
public static final String _serializedATN =
- "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\u009c\u0373\4\2\t"+
+ "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\u009c\u0379\4\2\t"+
"\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
"\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
- ",\t,\4-\t-\4.\t.\4/\t/\3\2\3\2\3\2\3\3\3\3\3\3\3\4\7\4f\n\4\f\4\16\4i"+
- "\13\4\3\5\3\5\5\5m\n\5\3\6\3\6\3\6\3\6\5\6s\n\6\3\7\3\7\3\7\3\7\3\7\3"+
- "\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\5\7\u0084\n\7\3\b\3\b\3\b\3\t\3"+
- "\t\7\t\u008b\n\t\f\t\16\t\u008e\13\t\3\t\3\t\3\t\3\t\3\t\7\t\u0095\n\t"+
- "\f\t\16\t\u0098\13\t\3\t\7\t\u009b\n\t\f\t\16\t\u009e\13\t\3\n\3\n\3\n"+
- "\7\n\u00a3\n\n\f\n\16\n\u00a6\13\n\3\n\3\n\7\n\u00aa\n\n\f\n\16\n\u00ad"+
- "\13\n\3\n\3\n\3\13\3\13\7\13\u00b3\n\13\f\13\16\13\u00b6\13\13\3\13\3"+
- "\13\5\13\u00ba\n\13\3\13\3\13\7\13\u00be\n\13\f\13\16\13\u00c1\13\13\3"+
- "\13\3\13\5\13\u00c5\n\13\3\f\7\f\u00c8\n\f\f\f\16\f\u00cb\13\f\3\f\3\f"+
- "\7\f\u00cf\n\f\f\f\16\f\u00d2\13\f\3\r\3\r\7\r\u00d6\n\r\f\r\16\r\u00d9"+
- "\13\r\3\16\3\16\5\16\u00dd\n\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17\3\17"+
- "\3\17\3\17\5\17\u00e9\n\17\3\17\7\17\u00ec\n\17\f\17\16\17\u00ef\13\17"+
- "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\5\20\u00f9\n\20\3\20\3\20\3\20"+
- "\3\20\3\20\5\20\u0100\n\20\3\20\3\20\3\20\5\20\u0105\n\20\3\20\3\20\3"+
- "\20\3\20\7\20\u010b\n\20\f\20\16\20\u010e\13\20\3\21\3\21\3\21\3\22\3"+
- "\22\5\22\u0115\n\22\3\22\3\22\6\22\u0119\n\22\r\22\16\22\u011a\3\22\3"+
- "\22\3\23\3\23\3\23\3\24\3\24\3\24\3\25\3\25\5\25\u0127\n\25\3\25\3\25"+
- "\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\7\26\u0133\n\26\f\26\16\26\u0136"+
- "\13\26\3\27\3\27\3\27\5\27\u013b\n\27\3\30\3\30\7\30\u013f\n\30\f\30\16"+
- "\30\u0142\13\30\3\30\3\30\3\30\5\30\u0147\n\30\3\30\3\30\3\30\5\30\u014c"+
- "\n\30\3\30\3\30\3\31\3\31\3\31\7\31\u0153\n\31\f\31\16\31\u0156\13\31"+
- "\3\32\3\32\7\32\u015a\n\32\f\32\16\32\u015d\13\32\3\32\3\32\3\32\5\32"+
- "\u0162\n\32\3\33\3\33\3\33\3\33\3\33\3\33\3\33\7\33\u016b\n\33\f\33\16"+
- "\33\u016e\13\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33"+
- "\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33"+
- "\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33"+
- "\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33"+
- "\3\33\3\33\3\33\7\33\u01a8\n\33\f\33\16\33\u01ab\13\33\3\33\5\33\u01ae"+
- "\n\33\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\5\34\u01b9\n\34\3\34"+
+ ",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\3\2\3\2\3\2\3\3\3\3\3\3\3\4\7\4h\n\4"+
+ "\f\4\16\4k\13\4\3\5\3\5\5\5o\n\5\3\6\3\6\3\6\3\6\5\6u\n\6\3\7\3\7\3\7"+
+ "\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\5\7\u0086\n\7\3\b\3\b"+
+ "\3\b\3\t\3\t\7\t\u008d\n\t\f\t\16\t\u0090\13\t\3\t\3\t\3\t\3\t\3\t\7\t"+
+ "\u0097\n\t\f\t\16\t\u009a\13\t\3\t\7\t\u009d\n\t\f\t\16\t\u00a0\13\t\3"+
+ "\n\3\n\3\n\7\n\u00a5\n\n\f\n\16\n\u00a8\13\n\3\n\3\n\7\n\u00ac\n\n\f\n"+
+ "\16\n\u00af\13\n\3\n\3\n\3\13\3\13\7\13\u00b5\n\13\f\13\16\13\u00b8\13"+
+ "\13\3\13\3\13\5\13\u00bc\n\13\3\13\3\13\7\13\u00c0\n\13\f\13\16\13\u00c3"+
+ "\13\13\3\13\3\13\5\13\u00c7\n\13\3\f\7\f\u00ca\n\f\f\f\16\f\u00cd\13\f"+
+ "\3\f\3\f\7\f\u00d1\n\f\f\f\16\f\u00d4\13\f\3\r\3\r\7\r\u00d8\n\r\f\r\16"+
+ "\r\u00db\13\r\3\16\3\16\5\16\u00df\n\16\3\16\3\16\3\17\3\17\3\17\3\17"+
+ "\3\17\3\17\3\17\3\17\5\17\u00eb\n\17\3\17\7\17\u00ee\n\17\f\17\16\17\u00f1"+
+ "\13\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\5\20\u00fb\n\20\3\20\3"+
+ "\20\3\20\3\20\3\20\5\20\u0102\n\20\3\20\3\20\3\20\5\20\u0107\n\20\3\20"+
+ "\3\20\3\20\3\20\7\20\u010d\n\20\f\20\16\20\u0110\13\20\3\21\3\21\3\21"+
+ "\3\22\3\22\5\22\u0117\n\22\3\22\3\22\6\22\u011b\n\22\r\22\16\22\u011c"+
+ "\3\22\3\22\3\23\3\23\3\23\3\24\3\24\3\24\3\25\3\25\5\25\u0129\n\25\3\25"+
+ "\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\7\26\u0135\n\26\f\26\16"+
+ "\26\u0138\13\26\3\27\3\27\3\27\5\27\u013d\n\27\3\30\3\30\7\30\u0141\n"+
+ "\30\f\30\16\30\u0144\13\30\3\30\3\30\3\30\5\30\u0149\n\30\3\30\3\30\3"+
+ "\30\5\30\u014e\n\30\3\31\3\31\5\31\u0152\n\31\3\31\3\31\3\32\3\32\3\32"+
+ "\7\32\u0159\n\32\f\32\16\32\u015c\13\32\3\33\3\33\7\33\u0160\n\33\f\33"+
+ "\16\33\u0163\13\33\3\33\3\33\3\33\5\33\u0168\n\33\3\34\3\34\3\34\3\34"+
+ "\3\34\3\34\3\34\7\34\u0171\n\34\f\34\16\34\u0174\13\34\3\34\3\34\3\34"+
"\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34"+
- "\3\34\3\34\5\34\u01cc\n\34\3\34\3\34\3\34\3\34\3\34\7\34\u01d3\n\34\f"+
- "\34\16\34\u01d6\13\34\3\34\3\34\5\34\u01da\n\34\3\35\6\35\u01dd\n\35\r"+
- "\35\16\35\u01de\3\36\3\36\3\36\3\36\3\36\5\36\u01e6\n\36\3\36\3\36\3\36"+
- "\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\5\36\u01f3\n\36\3\36\7\36\u01f6"+
- "\n\36\f\36\16\36\u01f9\13\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\7\36\u0202"+
- "\n\36\f\36\16\36\u0205\13\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3"+
- "\36\7\36\u0210\n\36\f\36\16\36\u0213\13\36\3\36\3\36\3\36\3\36\3\36\3"+
- "\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\5\36\u0225\n\36"+
- "\3\36\3\36\3\36\3\36\3\36\3\36\3\36\5\36\u022e\n\36\3\36\3\36\3\36\3\36"+
- "\3\36\5\36\u0235\n\36\3\37\6\37\u0238\n\37\r\37\16\37\u0239\3\37\3\37"+
- "\3\37\5\37\u023f\n\37\5\37\u0241\n\37\3 \3 \3 \3 \5 \u0247\n \3!\3!\3"+
- "!\3!\3!\5!\u024e\n!\3!\3!\7!\u0252\n!\f!\16!\u0255\13!\5!\u0257\n!\3!"+
- "\3!\3!\3!\3!\3!\5!\u025f\n!\3\"\5\"\u0262\n\"\3\"\5\"\u0265\n\"\3#\3#"+
- "\3#\3#\3#\3#\7#\u026d\n#\f#\16#\u0270\13#\3$\3$\3$\3$\3$\3$\3$\3$\3$\5"+
- "$\u027b\n$\3$\3$\3$\3$\3$\3$\5$\u0283\n$\3$\3$\3$\3$\5$\u0289\n$\3$\3"+
- "$\5$\u028d\n$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\7$\u02a0"+
- "\n$\f$\16$\u02a3\13$\3$\3$\3$\3$\3$\6$\u02aa\n$\r$\16$\u02ab\3$\3$\5$"+
- "\u02b0\n$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$"+
- "\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$"+
- "\3$\3$\3$\3$\3$\5$\u02e2\n$\3$\3$\3$\3$\3$\3$\3$\3$\7$\u02ec\n$\f$\16"+
- "$\u02ef\13$\3%\3%\3%\7%\u02f4\n%\f%\16%\u02f7\13%\3&\3&\5&\u02fb\n&\3"+
- "&\3&\3\'\3\'\3\'\3\'\7\'\u0303\n\'\f\'\16\'\u0306\13\'\3\'\3\'\3(\3(\3"+
- "(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\5(\u0317\n(\5(\u0319\n(\3)\7)\u031c\n"+
- ")\f)\16)\u031f\13)\3*\3*\3*\5*\u0324\n*\3+\3+\3+\3+\5+\u032a\n+\3,\3,"+
- "\5,\u032e\n,\3-\3-\3-\3-\7-\u0334\n-\f-\16-\u0337\13-\3.\3.\3.\3.\3.\3"+
- ".\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\5.\u0350\n.\3/\3"+
- "/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\5/\u0360\n/\3/\3/\3/\3/\3/\3/\3"+
- "/\3/\3/\3/\3/\3/\7/\u036e\n/\f/\16/\u0371\13/\3/\2\t\20\34\36*DF\\\60"+
- "\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFH"+
- "JLNPRTVXZ\\\2\r\3\2\26\27\5\2\21\22\30\31YY\4\2 ##\3\2\34\35\3\2\23\25"+
- "\3\2\21\22\3\2\36#\3\2\u0085\u0088\3\2\u0083\u0084\3\2\u0089\u008a\3\2"+
- "\u0085\u0086\2\u03f3\2^\3\2\2\2\4a\3\2\2\2\6g\3\2\2\2\bl\3\2\2\2\nr\3"+
- "\2\2\2\f\u0083\3\2\2\2\16\u0085\3\2\2\2\20\u0088\3\2\2\2\22\u009f\3\2"+
- "\2\2\24\u00c4\3\2\2\2\26\u00c9\3\2\2\2\30\u00d3\3\2\2\2\32\u00da\3\2\2"+
- "\2\34\u00e0\3\2\2\2\36\u00ff\3\2\2\2 \u010f\3\2\2\2\"\u0112\3\2\2\2$\u011e"+
- "\3\2\2\2&\u0121\3\2\2\2(\u0124\3\2\2\2*\u012c\3\2\2\2,\u0137\3\2\2\2."+
- "\u013c\3\2\2\2\60\u014f\3\2\2\2\62\u0161\3\2\2\2\64\u01ad\3\2\2\2\66\u01d9"+
- "\3\2\2\28\u01dc\3\2\2\2:\u0234\3\2\2\2<\u0237\3\2\2\2>\u0242\3\2\2\2@"+
- "\u025e\3\2\2\2B\u0264\3\2\2\2D\u0266\3\2\2\2F\u02af\3\2\2\2H\u02f0\3\2"+
- "\2\2J\u02f8\3\2\2\2L\u02fe\3\2\2\2N\u0318\3\2\2\2P\u031d\3\2\2\2R\u0323"+
- "\3\2\2\2T\u0329\3\2\2\2V\u032b\3\2\2\2X\u032f\3\2\2\2Z\u034f\3\2\2\2\\"+
- "\u035f\3\2\2\2^_\5\6\4\2_`\7\2\2\3`\3\3\2\2\2ab\5P)\2bc\7\2\2\3c\5\3\2"+
- "\2\2df\5\b\5\2ed\3\2\2\2fi\3\2\2\2ge\3\2\2\2gh\3\2\2\2h\7\3\2\2\2ig\3"+
- "\2\2\2jm\5\f\7\2km\5\n\6\2lj\3\2\2\2lk\3\2\2\2m\t\3\2\2\2no\7`\2\2os\7"+
- "^\2\2pq\7a\2\2qs\7^\2\2rn\3\2\2\2rp\3\2\2\2s\13\3\2\2\2tu\5\16\b\2uv\7"+
- "\n\2\2v\u0084\3\2\2\2wx\5\"\22\2xy\7\n\2\2y\u0084\3\2\2\2z{\5(\25\2{|"+
- "\7\n\2\2|\u0084\3\2\2\2}\u0084\5.\30\2~\u0084\5J&\2\177\u0084\5\64\33"+
- "\2\u0080\u0081\5\22\n\2\u0081\u0082\7\n\2\2\u0082\u0084\3\2\2\2\u0083"+
- "t\3\2\2\2\u0083w\3\2\2\2\u0083z\3\2\2\2\u0083}\3\2\2\2\u0083~\3\2\2\2"+
- "\u0083\177\3\2\2\2\u0083\u0080\3\2\2\2\u0084\r\3\2\2\2\u0085\u0086\5\26"+
- "\f\2\u0086\u0087\5\20\t\2\u0087\17\3\2\2\2\u0088\u008c\b\t\1\2\u0089\u008b"+
- "\5\30\r\2\u008a\u0089\3\2\2\2\u008b\u008e\3\2\2\2\u008c\u008a\3\2\2\2"+
- "\u008c\u008d\3\2\2\2\u008d\u008f\3\2\2\2\u008e\u008c\3\2\2\2\u008f\u0090"+
- "\5\24\13\2\u0090\u009c\3\2\2\2\u0091\u0092\f\3\2\2\u0092\u0096\7\f\2\2"+
- "\u0093\u0095\5\30\r\2\u0094\u0093\3\2\2\2\u0095\u0098\3\2\2\2\u0096\u0094"+
- "\3\2\2\2\u0096\u0097\3\2\2\2\u0097\u0099\3\2\2\2\u0098\u0096\3\2\2\2\u0099"+
- "\u009b\5\24\13\2\u009a\u0091\3\2\2\2\u009b\u009e\3\2\2\2\u009c\u009a\3"+
- "\2\2\2\u009c\u009d\3\2\2\2\u009d\21\3\2\2\2\u009e\u009c\3\2\2\2\u009f"+
- "\u00a0\7(\2\2\u00a0\u00a4\5\26\f\2\u00a1\u00a3\5\30\r\2\u00a2\u00a1\3"+
- "\2\2\2\u00a3\u00a6\3\2\2\2\u00a4\u00a2\3\2\2\2\u00a4\u00a5\3\2\2\2\u00a5"+
- "\u00a7\3\2\2\2\u00a6\u00a4\3\2\2\2\u00a7\u00ab\7u\2\2\u00a8\u00aa\5\32"+
- "\16\2\u00a9\u00a8\3\2\2\2\u00aa\u00ad\3\2\2\2\u00ab\u00a9\3\2\2\2\u00ab"+
- "\u00ac\3\2\2\2\u00ac\u00ae\3\2\2\2\u00ad\u00ab\3\2\2\2\u00ae\u00af\b\n"+
- "\1\2\u00af\23\3\2\2\2\u00b0\u00b4\7u\2\2\u00b1\u00b3\5\32\16\2\u00b2\u00b1"+
- "\3\2\2\2\u00b3\u00b6\3\2\2\2\u00b4\u00b2\3\2\2\2\u00b4\u00b5\3\2\2\2\u00b5"+
- "\u00b9\3\2\2\2\u00b6\u00b4\3\2\2\2\u00b7\u00b8\7&\2\2\u00b8\u00ba\5F$"+
- "\2\u00b9\u00b7\3\2\2\2\u00b9\u00ba\3\2\2\2\u00ba\u00c5\3\2\2\2\u00bb\u00bf"+
- "\7u\2\2\u00bc\u00be\5\32\16\2\u00bd\u00bc\3\2\2\2\u00be\u00c1\3\2\2\2"+
- "\u00bf\u00bd\3\2\2\2\u00bf\u00c0\3\2\2\2\u00c0\u00c2\3\2\2\2\u00c1\u00bf"+
- "\3\2\2\2\u00c2\u00c3\7&\2\2\u00c3\u00c5\5J&\2\u00c4\u00b0\3\2\2\2\u00c4"+
- "\u00bb\3\2\2\2\u00c5\25\3\2\2\2\u00c6\u00c8\5\66\34\2\u00c7\u00c6\3\2"+
- "\2\2\u00c8\u00cb\3\2\2\2\u00c9\u00c7\3\2\2\2\u00c9\u00ca\3\2\2\2\u00ca"+
- "\u00cc\3\2\2\2\u00cb\u00c9\3\2\2\2\u00cc\u00d0\5\36\20\2\u00cd\u00cf\5"+
- "\66\34\2\u00ce\u00cd\3\2\2\2\u00cf\u00d2\3\2\2\2\u00d0\u00ce\3\2\2\2\u00d0"+
- "\u00d1\3\2\2\2\u00d1\27\3\2\2\2\u00d2\u00d0\3\2\2\2\u00d3\u00d7\7\23\2"+
- "\2\u00d4\u00d6\5\66\34\2\u00d5\u00d4\3\2\2\2\u00d6\u00d9\3\2\2\2\u00d7"+
- "\u00d5\3\2\2\2\u00d7\u00d8\3\2\2\2\u00d8\31\3\2\2\2\u00d9\u00d7\3\2\2"+
- "\2\u00da\u00dc\7\6\2\2\u00db\u00dd\5F$\2\u00dc\u00db\3\2\2\2\u00dc\u00dd"+
- "\3\2\2\2\u00dd\u00de\3\2\2\2\u00de\u00df\7\7\2\2\u00df\33\3\2\2\2\u00e0"+
- "\u00e1\b\17\1\2\u00e1\u00e2\5\36\20\2\u00e2\u00ed\3\2\2\2\u00e3\u00e4"+
- "\f\4\2\2\u00e4\u00ec\7\23\2\2\u00e5\u00e6\f\3\2\2\u00e6\u00e8\7\6\2\2"+
- "\u00e7\u00e9\5F$\2\u00e8\u00e7\3\2\2\2\u00e8\u00e9\3\2\2\2\u00e9\u00ea"+
- "\3\2\2\2\u00ea\u00ec\7\7\2\2\u00eb\u00e3\3\2\2\2\u00eb\u00e5\3\2\2\2\u00ec"+
- "\u00ef\3\2\2\2\u00ed\u00eb\3\2\2\2\u00ed\u00ee\3\2\2\2\u00ee\35\3\2\2"+
- "\2\u00ef\u00ed\3\2\2\2\u00f0\u00f1\b\20\1\2\u00f1\u00f2\7\b\2\2\u00f2"+
- "\u00f3\5\36\20\2\u00f3\u00f4\7\t\2\2\u00f4\u0100\3\2\2\2\u00f5\u0100\7"+
- "[\2\2\u00f6\u00f8\7Z\2\2\u00f7\u00f9\7[\2\2\u00f8\u00f7\3\2\2\2\u00f8"+
- "\u00f9\3\2\2\2\u00f9\u0100\3\2\2\2\u00fa\u0100\5\"\22\2\u00fb\u0100\5"+
- " \21\2\u00fc\u0100\5(\25\2\u00fd\u0100\5&\24\2\u00fe\u0100\7\3\2\2\u00ff"+
- "\u00f0\3\2\2\2\u00ff\u00f5\3\2\2\2\u00ff\u00f6\3\2\2\2\u00ff\u00fa\3\2"+
- "\2\2\u00ff\u00fb\3\2\2\2\u00ff\u00fc\3\2\2\2\u00ff\u00fd\3\2\2\2\u00ff"+
- "\u00fe\3\2\2\2\u0100\u010c\3\2\2\2\u0101\u0102\f\t\2\2\u0102\u0104\7\6"+
- "\2\2\u0103\u0105\5F$\2\u0104\u0103\3\2\2\2\u0104\u0105\3\2\2\2\u0105\u0106"+
- "\3\2\2\2\u0106\u010b\7\7\2\2\u0107\u0108\f\b\2\2\u0108\u0109\7\b\2\2\u0109"+
- "\u010b\7\t\2\2\u010a\u0101\3\2\2\2\u010a\u0107\3\2\2\2\u010b\u010e\3\2"+
- "\2\2\u010c\u010a\3\2\2\2\u010c\u010d\3\2\2\2\u010d\37\3\2\2\2\u010e\u010c"+
- "\3\2\2\2\u010f\u0110\7N\2\2\u0110\u0111\7u\2\2\u0111!\3\2\2\2\u0112\u0114"+
- "\7N\2\2\u0113\u0115\7u\2\2\u0114\u0113\3\2\2\2\u0114\u0115\3\2\2\2\u0115"+
- "\u0116\3\2\2\2\u0116\u0118\7\4\2\2\u0117\u0119\5$\23\2\u0118\u0117\3\2"+
- "\2\2\u0119\u011a\3\2\2\2\u011a\u0118\3\2\2\2\u011a\u011b\3\2\2\2\u011b"+
- "\u011c\3\2\2\2\u011c\u011d\7\5\2\2\u011d#\3\2\2\2\u011e\u011f\5\16\b\2"+
- "\u011f\u0120\7\n\2\2\u0120%\3\2\2\2\u0121\u0122\7O\2\2\u0122\u0123\7u"+
- "\2\2\u0123\'\3\2\2\2\u0124\u0126\7O\2\2\u0125\u0127\7u\2\2\u0126\u0125"+
- "\3\2\2\2\u0126\u0127\3\2\2\2\u0127\u0128\3\2\2\2\u0128\u0129\7\4\2\2\u0129"+
- "\u012a\5*\26\2\u012a\u012b\7\5\2\2\u012b)\3\2\2\2\u012c\u012d\b\26\1\2"+
- "\u012d\u012e\5,\27\2\u012e\u0134\3\2\2\2\u012f\u0130\f\3\2\2\u0130\u0131"+
- "\7\f\2\2\u0131\u0133\5,\27\2\u0132\u012f\3\2\2\2\u0133\u0136\3\2\2\2\u0134"+
- "\u0132\3\2\2\2\u0134\u0135\3\2\2\2\u0135+\3\2\2\2\u0136\u0134\3\2\2\2"+
- "\u0137\u013a\7u\2\2\u0138\u0139\7&\2\2\u0139\u013b\5F$\2\u013a\u0138\3"+
- "\2\2\2\u013a\u013b\3\2\2\2\u013b-\3\2\2\2\u013c\u0140\5\26\f\2\u013d\u013f"+
- "\5\30\r\2\u013e\u013d\3\2\2\2\u013f\u0142\3\2\2\2\u0140\u013e\3\2\2\2"+
- "\u0140\u0141\3\2\2\2\u0141\u0143\3\2\2\2\u0142\u0140\3\2\2\2\u0143\u0144"+
- "\7u\2\2\u0144\u0146\7\b\2\2\u0145\u0147\5\60\31\2\u0146\u0145\3\2\2\2"+
- "\u0146\u0147\3\2\2\2\u0147\u0148\3\2\2\2\u0148\u0149\7\t\2\2\u0149\u014b"+
- "\7\4\2\2\u014a\u014c\58\35\2\u014b\u014a\3\2\2\2\u014b\u014c\3\2\2\2\u014c"+
- "\u014d\3\2\2\2\u014d\u014e\7\5\2\2\u014e/\3\2\2\2\u014f\u0154\5\62\32"+
- "\2\u0150\u0151\7\f\2\2\u0151\u0153\5\62\32\2\u0152\u0150\3\2\2\2\u0153"+
- "\u0156\3\2\2\2\u0154\u0152\3\2\2\2\u0154\u0155\3\2\2\2\u0155\61\3\2\2"+
- "\2\u0156\u0154\3\2\2\2\u0157\u015b\5\26\f\2\u0158\u015a\5\30\r\2\u0159"+
- "\u0158\3\2\2\2\u015a\u015d\3\2\2\2\u015b\u0159\3\2\2\2\u015b\u015c\3\2"+
- "\2\2\u015c\u015e\3\2\2\2\u015d\u015b\3\2\2\2\u015e\u015f\7u\2\2\u015f"+
- "\u0162\3\2\2\2\u0160\u0162\7[\2\2\u0161\u0157\3\2\2\2\u0161\u0160\3\2"+
- "\2\2\u0162\63\3\2\2\2\u0163\u0164\7b\2\2\u0164\u0165\7)\2\2\u0165\u0166"+
- "\3\2\2\2\u0166\u0167\7\b\2\2\u0167\u016c\7l\2\2\u0168\u0169\7\f\2\2\u0169"+
- "\u016b\7l\2\2\u016a\u0168\3\2\2\2\u016b\u016e\3\2\2\2\u016c\u016a\3\2"+
- "\2\2\u016c\u016d\3\2\2\2\u016d\u016f\3\2\2\2\u016e\u016c\3\2\2\2\u016f"+
- "\u01ae\7\t\2\2\u0170\u0171\7b\2\2\u0171\u0172\7*\2\2\u0172\u0173\3\2\2"+
- "\2\u0173\u0174\7\b\2\2\u0174\u0175\7l\2\2\u0175\u01ae\7\t\2\2\u0176\u0177"+
- "\7b\2\2\u0177\u0178\7+\2\2\u0178\u0179\3\2\2\2\u0179\u017a\7\b\2\2\u017a"+
- "\u017b\7u\2\2\u017b\u01ae\7\t\2\2\u017c\u017d\7b\2\2\u017d\u017e\7-\2"+
- "\2\u017e\u017f\3\2\2\2\u017f\u0180\7\b\2\2\u0180\u0181\7u\2\2\u0181\u01ae"+
- "\7\t\2\2\u0182\u0183\7b\2\2\u0183\u0184\7,\2\2\u0184\u0185\3\2\2\2\u0185"+
- "\u0186\7\b\2\2\u0186\u0187\7^\2\2\u0187\u01ae\7\t\2\2\u0188\u0189\7b\2"+
- "\2\u0189\u018a\7.\2\2\u018a\u018b\3\2\2\2\u018b\u018c\7\b\2\2\u018c\u018d"+
- "\7u\2\2\u018d\u01ae\7\t\2\2\u018e\u018f\7b\2\2\u018f\u0190\7/\2\2\u0190"+
- "\u0191\3\2\2\2\u0191\u0192\7\b\2\2\u0192\u0193\7u\2\2\u0193\u01ae\7\t"+
- "\2\2\u0194\u0195\7b\2\2\u0195\u0196\7\60\2\2\u0196\u0197\3\2\2\2\u0197"+
- "\u0198\7\b\2\2\u0198\u0199\7u\2\2\u0199\u01ae\7\t\2\2\u019a\u019b\7b\2"+
- "\2\u019b\u019c\7?\2\2\u019c\u019d\3\2\2\2\u019d\u019e\7\b\2\2\u019e\u019f"+
- "\7@\2\2\u019f\u01ae\7\t\2\2\u01a0\u01a1\7b\2\2\u01a1\u01a2\7A\2\2\u01a2"+
- "\u01a3\3\2\2\2\u01a3\u01a4\7\b\2\2\u01a4\u01a9\7u\2\2\u01a5\u01a6\7\f"+
- "\2\2\u01a6\u01a8\7u\2\2\u01a7\u01a5\3\2\2\2\u01a8\u01ab\3\2\2\2\u01a9"+
- "\u01a7\3\2\2\2\u01a9\u01aa\3\2\2\2\u01aa\u01ac\3\2\2\2\u01ab\u01a9\3\2"+
- "\2\2\u01ac\u01ae\7\t\2\2\u01ad\u0163\3\2\2\2\u01ad\u0170\3\2\2\2\u01ad"+
- "\u0176\3\2\2\2\u01ad\u017c\3\2\2\2\u01ad\u0182\3\2\2\2\u01ad\u0188\3\2"+
- "\2\2\u01ad\u018e\3\2\2\2\u01ad\u0194\3\2\2\2\u01ad\u019a\3\2\2\2\u01ad"+
- "\u01a0\3\2\2\2\u01ae\65\3\2\2\2\u01af\u01da\7\61\2\2\u01b0\u01b1\7\64"+
- "\2\2\u01b1\u01b2\7\b\2\2\u01b2\u01b3\7l\2\2\u01b3\u01da\7\t\2\2\u01b4"+
- "\u01b8\79\2\2\u01b5\u01b6\7\b\2\2\u01b6\u01b7\7u\2\2\u01b7\u01b9\7\t\2"+
- "\2\u01b8\u01b5\3\2\2\2\u01b8\u01b9\3\2\2\2\u01b9\u01da\3\2\2\2\u01ba\u01da"+
- "\7;\2\2\u01bb\u01da\7<\2\2\u01bc\u01bd\7:\2\2\u01bd\u01be\7\b\2\2\u01be"+
- "\u01bf\7l\2\2\u01bf\u01da\7\t\2\2\u01c0\u01da\7\66\2\2\u01c1\u01da\7\67"+
- "\2\2\u01c2\u01da\7=\2\2\u01c3\u01da\7>\2\2\u01c4\u01da\7\62\2\2\u01c5"+
- "\u01da\7\63\2\2\u01c6\u01da\7\65\2\2\u01c7\u01cb\78\2\2\u01c8\u01c9\7"+
- "\b\2\2\u01c9\u01ca\7u\2\2\u01ca\u01cc\7\t\2\2\u01cb\u01c8\3\2\2\2\u01cb"+
- "\u01cc\3\2\2\2\u01cc\u01da\3\2\2\2\u01cd\u01ce\7)\2\2\u01ce\u01cf\7\b"+
- "\2\2\u01cf\u01d4\7l\2\2\u01d0\u01d1\7\f\2\2\u01d1\u01d3\7l\2\2\u01d2\u01d0"+
- "\3\2\2\2\u01d3\u01d6\3\2\2\2\u01d4\u01d2\3\2\2\2\u01d4\u01d5\3\2\2\2\u01d5"+
- "\u01d7\3\2\2\2\u01d6\u01d4\3\2\2\2\u01d7\u01da\7\t\2\2\u01d8\u01da\7@"+
- "\2\2\u01d9\u01af\3\2\2\2\u01d9\u01b0\3\2\2\2\u01d9\u01b4\3\2\2\2\u01d9"+
- "\u01ba\3\2\2\2\u01d9\u01bb\3\2\2\2\u01d9\u01bc\3\2\2\2\u01d9\u01c0\3\2"+
- "\2\2\u01d9\u01c1\3\2\2\2\u01d9\u01c2\3\2\2\2\u01d9\u01c3\3\2\2\2\u01d9"+
- "\u01c4\3\2\2\2\u01d9\u01c5\3\2\2\2\u01d9\u01c6\3\2\2\2\u01d9\u01c7\3\2"+
- "\2\2\u01d9\u01cd\3\2\2\2\u01d9\u01d8\3\2\2\2\u01da\67\3\2\2\2\u01db\u01dd"+
- "\5:\36\2\u01dc\u01db\3\2\2\2\u01dd\u01de\3\2\2\2\u01de\u01dc\3\2\2\2\u01de"+
- "\u01df\3\2\2\2\u01df9\3\2\2\2\u01e0\u01e1\5\16\b\2\u01e1\u01e2\7\n\2\2"+
- "\u01e2\u0235\3\2\2\2\u01e3\u01e5\7\4\2\2\u01e4\u01e6\58\35\2\u01e5\u01e4"+
- "\3\2\2\2\u01e5\u01e6\3\2\2\2\u01e6\u01e7\3\2\2\2\u01e7\u0235\7\5\2\2\u01e8"+
- "\u01e9\5D#\2\u01e9\u01ea\7\n\2\2\u01ea\u0235\3\2\2\2\u01eb\u01ec\7B\2"+
- "\2\u01ec\u01ed\7\b\2\2\u01ed\u01ee\5D#\2\u01ee\u01ef\7\t\2\2\u01ef\u01f2"+
- "\5:\36\2\u01f0\u01f1\7C\2\2\u01f1\u01f3\5:\36\2\u01f2\u01f0\3\2\2\2\u01f2"+
- "\u01f3\3\2\2\2\u01f3\u0235\3\2\2\2\u01f4\u01f6\5\66\34\2\u01f5\u01f4\3"+
- "\2\2\2\u01f6\u01f9\3\2\2\2\u01f7\u01f5\3\2\2\2\u01f7\u01f8\3\2\2\2\u01f8"+
- "\u01fa\3\2\2\2\u01f9\u01f7\3\2\2\2\u01fa\u01fb\7D\2\2\u01fb\u01fc\7\b"+
- "\2\2\u01fc\u01fd\5D#\2\u01fd\u01fe\7\t\2\2\u01fe\u01ff\5:\36\2\u01ff\u0235"+
- "\3\2\2\2\u0200\u0202\5\66\34\2\u0201\u0200\3\2\2\2\u0202\u0205\3\2\2\2"+
- "\u0203\u0201\3\2\2\2\u0203\u0204\3\2\2\2\u0204\u0206\3\2\2\2\u0205\u0203"+
- "\3\2\2\2\u0206\u0207\7E\2\2\u0207\u0208\5:\36\2\u0208\u0209\7D\2\2\u0209"+
- "\u020a\7\b\2\2\u020a\u020b\5D#\2\u020b\u020c\7\t\2\2\u020c\u020d\7\n\2"+
- "\2\u020d\u0235\3\2\2\2\u020e\u0210\5\66\34\2\u020f\u020e\3\2\2\2\u0210"+
- "\u0213\3\2\2\2\u0211\u020f\3\2\2\2\u0211\u0212\3\2\2\2\u0212\u0214\3\2"+
- "\2\2\u0213\u0211\3\2\2\2\u0214\u0215\7F\2\2\u0215\u0216\7\b\2\2\u0216"+
- "\u0217\5@!\2\u0217\u0218\7\t\2\2\u0218\u0219\5:\36\2\u0219\u0235\3\2\2"+
- "\2\u021a\u021b\7G\2\2\u021b\u021c\7\b\2\2\u021c\u021d\5D#\2\u021d\u021e"+
- "\7\t\2\2\u021e\u021f\7\4\2\2\u021f\u0220\5<\37\2\u0220\u0221\7\5\2\2\u0221"+
- "\u0235\3\2\2\2\u0222\u0224\7H\2\2\u0223\u0225\5D#\2\u0224\u0223\3\2\2"+
- "\2\u0224\u0225\3\2\2\2\u0225\u0226\3\2\2\2\u0226\u0235\7\n\2\2\u0227\u0228"+
- "\7I\2\2\u0228\u0235\7\n\2\2\u0229\u022a\7J\2\2\u022a\u0235\7\n\2\2\u022b"+
- "\u022d\7K\2\2\u022c\u022e\5L\'\2\u022d\u022c\3\2\2\2\u022d\u022e\3\2\2"+
- "\2\u022e\u022f\3\2\2\2\u022f\u0230\7\4\2\2\u0230\u0231\5P)\2\u0231\u0232"+
- "\7\u008c\2\2\u0232\u0235\3\2\2\2\u0233\u0235\5J&\2\u0234\u01e0\3\2\2\2"+
- "\u0234\u01e3\3\2\2\2\u0234\u01e8\3\2\2\2\u0234\u01eb\3\2\2\2\u0234\u01f7"+
- "\3\2\2\2\u0234\u0203\3\2\2\2\u0234\u0211\3\2\2\2\u0234\u021a\3\2\2\2\u0234"+
- "\u0222\3\2\2\2\u0234\u0227\3\2\2\2\u0234\u0229\3\2\2\2\u0234\u022b\3\2"+
- "\2\2\u0234\u0233\3\2\2\2\u0235;\3\2\2\2\u0236\u0238\5> \2\u0237\u0236"+
- "\3\2\2\2\u0238\u0239\3\2\2\2\u0239\u0237\3\2\2\2\u0239\u023a\3\2\2\2\u023a"+
- "\u0240\3\2\2\2\u023b\u023c\7L\2\2\u023c\u023e\7\13\2\2\u023d\u023f\58"+
- "\35\2\u023e\u023d\3\2\2\2\u023e\u023f\3\2\2\2\u023f\u0241\3\2\2\2\u0240"+
- "\u023b\3\2\2\2\u0240\u0241\3\2\2\2\u0241=\3\2\2\2\u0242\u0243\7M\2\2\u0243"+
- "\u0244\5F$\2\u0244\u0246\7\13\2\2\u0245\u0247\58\35\2\u0246\u0245\3\2"+
- "\2\2\u0246\u0247\3\2\2\2\u0247?\3\2\2\2\u0248\u0249\5B\"\2\u0249\u024a"+
- "\7\n\2\2\u024a\u024b\5D#\2\u024b\u024d\7\n\2\2\u024c\u024e\5D#\2\u024d"+
- "\u024c\3\2\2\2\u024d\u024e\3\2\2\2\u024e\u025f\3\2\2\2\u024f\u0253\5\26"+
- "\f\2\u0250\u0252\5\30\r\2\u0251\u0250\3\2\2\2\u0252\u0255\3\2\2\2\u0253"+
- "\u0251\3\2\2\2\u0253\u0254\3\2\2\2\u0254\u0257\3\2\2\2\u0255\u0253\3\2"+
- "\2\2\u0256\u024f\3\2\2\2\u0256\u0257\3\2\2\2\u0257\u0258\3\2\2\2\u0258"+
- "\u0259\7u\2\2\u0259\u025a\7\13\2\2\u025a\u025b\5F$\2\u025b\u025c\7\r\2"+
- "\2\u025c\u025d\5F$\2\u025d\u025f\3\2\2\2\u025e\u0248\3\2\2\2\u025e\u0256"+
- "\3\2\2\2\u025fA\3\2\2\2\u0260\u0262\5\16\b\2\u0261\u0260\3\2\2\2\u0261"+
- "\u0262\3\2\2\2\u0262\u0265\3\2\2\2\u0263\u0265\5D#\2\u0264\u0261\3\2\2"+
- "\2\u0264\u0263\3\2\2\2\u0265C\3\2\2\2\u0266\u0267\b#\1\2\u0267\u0268\5"+
- "F$\2\u0268\u026e\3\2\2\2\u0269\u026a\f\3\2\2\u026a\u026b\7\f\2\2\u026b"+
- "\u026d\5F$\2\u026c\u0269\3\2\2\2\u026d\u0270\3\2\2\2\u026e\u026c\3\2\2"+
- "\2\u026e\u026f\3\2\2\2\u026fE\3\2\2\2\u0270\u026e\3\2\2\2\u0271\u0272"+
- "\b$\1\2\u0272\u0273\7\b\2\2\u0273\u0274\5D#\2\u0274\u0275\7\t\2\2\u0275"+
- "\u02b0\3\2\2\2\u0276\u0277\7P\2\2\u0277\u027a\7\b\2\2\u0278\u027b\5F$"+
- "\2\u0279\u027b\5\34\17\2\u027a\u0278\3\2\2\2\u027a\u0279\3\2\2\2\u027b"+
- "\u027c\3\2\2\2\u027c\u027d\7\t\2\2\u027d\u02b0\3\2\2\2\u027e\u027f\7Q"+
- "\2\2\u027f\u0282\7\b\2\2\u0280\u0283\5F$\2\u0281\u0283\5\34\17\2\u0282"+
- "\u0280\3\2\2\2\u0282\u0281\3\2\2\2\u0283\u0284\3\2\2\2\u0284\u0285\7\t"+
- "\2\2\u0285\u02b0\3\2\2\2\u0286\u0288\7R\2\2\u0287\u0289\7\b\2\2\u0288"+
- "\u0287\3\2\2\2\u0288\u0289\3\2\2\2\u0289\u028a\3\2\2\2\u028a\u028c\7u"+
- "\2\2\u028b\u028d\7\t\2\2\u028c\u028b\3\2\2\2\u028c\u028d\3\2\2\2\u028d"+
- "\u02b0\3\2\2\2\u028e\u028f\7\b\2\2\u028f\u0290\5\34\17\2\u0290\u0291\7"+
- "\t\2\2\u0291\u0292\5F$\32\u0292\u02b0\3\2\2\2\u0293\u0294\t\2\2\2\u0294"+
- "\u02b0\5F$\31\u0295\u0296\7\23\2\2\u0296\u02b0\5F$\27\u0297\u0298\t\3"+
- "\2\2\u0298\u02b0\5F$\26\u0299\u029a\t\4\2\2\u029a\u02b0\5F$\22\u029b\u029c"+
- "\7\4\2\2\u029c\u02a1\5F$\2\u029d\u029e\7\f\2\2\u029e\u02a0\5F$\2\u029f"+
- "\u029d\3\2\2\2\u02a0\u02a3\3\2\2\2\u02a1\u029f\3\2\2\2\u02a1\u02a2\3\2"+
- "\2\2\u02a2\u02a4\3\2\2\2\u02a3\u02a1\3\2\2\2\u02a4\u02a5\7\5\2\2\u02a5"+
- "\u02b0\3\2\2\2\u02a6\u02b0\7u\2\2\u02a7\u02b0\7l\2\2\u02a8\u02aa\7^\2"+
- "\2\u02a9\u02a8\3\2\2\2\u02aa\u02ab\3\2\2\2\u02ab\u02a9\3\2\2\2\u02ab\u02ac"+
- "\3\2\2\2\u02ac\u02b0\3\2\2\2\u02ad\u02b0\7_\2\2\u02ae\u02b0\7\\\2\2\u02af"+
- "\u0271\3\2\2\2\u02af\u0276\3\2\2\2\u02af\u027e\3\2\2\2\u02af\u0286\3\2"+
- "\2\2\u02af\u028e\3\2\2\2\u02af\u0293\3\2\2\2\u02af\u0295\3\2\2\2\u02af"+
- "\u0297\3\2\2\2\u02af\u0299\3\2\2\2\u02af\u029b\3\2\2\2\u02af\u02a6\3\2"+
- "\2\2\u02af\u02a7\3\2\2\2\u02af\u02a9\3\2\2\2\u02af\u02ad\3\2\2\2\u02af"+
- "\u02ae\3\2\2\2\u02b0\u02ed\3\2\2\2\u02b1\u02b2\f\25\2\2\u02b2\u02b3\t"+
- "\5\2\2\u02b3\u02ec\5F$\26\u02b4\u02b5\f\24\2\2\u02b5\u02b6\t\6\2\2\u02b6"+
- "\u02ec\5F$\25\u02b7\u02b8\f\23\2\2\u02b8\u02b9\t\7\2\2\u02b9\u02ec\5F"+
- "$\24\u02ba\u02bb\f\21\2\2\u02bb\u02bc\t\b\2\2\u02bc\u02ec\5F$\22\u02bd"+
- "\u02be\f\20\2\2\u02be\u02bf\7\30\2\2\u02bf\u02ec\5F$\21\u02c0\u02c1\f"+
- "\17\2\2\u02c1\u02c2\7\32\2\2\u02c2\u02ec\5F$\20\u02c3\u02c4\f\16\2\2\u02c4"+
- "\u02c5\7\33\2\2\u02c5\u02ec\5F$\17\u02c6\u02c7\f\r\2\2\u02c7\u02c8\7$"+
- "\2\2\u02c8\u02ec\5F$\16\u02c9\u02ca\f\f\2\2\u02ca\u02cb\7%\2\2\u02cb\u02ec"+
- "\5F$\r\u02cc\u02cd\f\13\2\2\u02cd\u02ce\7\16\2\2\u02ce\u02cf\5F$\2\u02cf"+
- "\u02d0\7\13\2\2\u02d0\u02d1\5F$\f\u02d1\u02ec\3\2\2\2\u02d2\u02d3\f\n"+
- "\2\2\u02d3\u02d4\7&\2\2\u02d4\u02ec\5F$\n\u02d5\u02d6\f\t\2\2\u02d6\u02d7"+
- "\7\'\2\2\u02d7\u02ec\5F$\t\u02d8\u02d9\f!\2\2\u02d9\u02da\7\17\2\2\u02da"+
- "\u02ec\7u\2\2\u02db\u02dc\f \2\2\u02dc\u02dd\7\20\2\2\u02dd\u02ec\7u\2"+
- "\2\u02de\u02df\f\37\2\2\u02df\u02e1\7\b\2\2\u02e0\u02e2\5H%\2\u02e1\u02e0"+
- "\3\2\2\2\u02e1\u02e2\3\2\2\2\u02e2\u02e3\3\2\2\2\u02e3\u02ec\7\t\2\2\u02e4"+
- "\u02e5\f\33\2\2\u02e5\u02e6\7\6\2\2\u02e6\u02e7\5D#\2\u02e7\u02e8\7\7"+
- "\2\2\u02e8\u02ec\3\2\2\2\u02e9\u02ea\f\30\2\2\u02ea\u02ec\t\2\2\2\u02eb"+
- "\u02b1\3\2\2\2\u02eb\u02b4\3\2\2\2\u02eb\u02b7\3\2\2\2\u02eb\u02ba\3\2"+
- "\2\2\u02eb\u02bd\3\2\2\2\u02eb\u02c0\3\2\2\2\u02eb\u02c3\3\2\2\2\u02eb"+
- "\u02c6\3\2\2\2\u02eb\u02c9\3\2\2\2\u02eb\u02cc\3\2\2\2\u02eb\u02d2\3\2"+
- "\2\2\u02eb\u02d5\3\2\2\2\u02eb\u02d8\3\2\2\2\u02eb\u02db\3\2\2\2\u02eb"+
- "\u02de\3\2\2\2\u02eb\u02e4\3\2\2\2\u02eb\u02e9\3\2\2\2\u02ec\u02ef\3\2"+
- "\2\2\u02ed\u02eb\3\2\2\2\u02ed\u02ee\3\2\2\2\u02eeG\3\2\2\2\u02ef\u02ed"+
- "\3\2\2\2\u02f0\u02f5\5F$\2\u02f1\u02f2\7\f\2\2\u02f2\u02f4\5F$\2\u02f3"+
- "\u02f1\3\2\2\2\u02f4\u02f7\3\2\2\2\u02f5\u02f3\3\2\2\2\u02f5\u02f6\3\2"+
- "\2\2\u02f6I\3\2\2\2\u02f7\u02f5\3\2\2\2\u02f8\u02fa\7S\2\2\u02f9\u02fb"+
- "\5L\'\2\u02fa\u02f9\3\2\2\2\u02fa\u02fb\3\2\2\2\u02fb\u02fc\3\2\2\2\u02fc"+
- "\u02fd\7]\2\2\u02fdK\3\2\2\2\u02fe\u02ff\7\b\2\2\u02ff\u0304\5N(\2\u0300"+
- "\u0301\7\f\2\2\u0301\u0303\5N(\2\u0302\u0300\3\2\2\2\u0303\u0306\3\2\2"+
- "\2\u0304\u0302\3\2\2\2\u0304\u0305\3\2\2\2\u0305\u0307\3\2\2\2\u0306\u0304"+
- "\3\2\2\2\u0307\u0308\7\t\2\2\u0308M\3\2\2\2\u0309\u030a\7T\2\2\u030a\u0319"+
- "\7^\2\2\u030b\u030c\7U\2\2\u030c\u0319\7u\2\2\u030d\u030e\7V\2\2\u030e"+
- "\u0319\7^\2\2\u030f\u0310\7W\2\2\u0310\u0319\5F$\2\u0311\u0312\7X\2\2"+
- "\u0312\u0319\5F$\2\u0313\u0316\7*\2\2\u0314\u0317\7\65\2\2\u0315\u0317"+
- "\5F$\2\u0316\u0314\3\2\2\2\u0316\u0315\3\2\2\2\u0317\u0319\3\2\2\2\u0318"+
- "\u0309\3\2\2\2\u0318\u030b\3\2\2\2\u0318\u030d\3\2\2\2\u0318\u030f\3\2"+
- "\2\2\u0318\u0311\3\2\2\2\u0318\u0313\3\2\2\2\u0319O\3\2\2\2\u031a\u031c"+
- "\5R*\2\u031b\u031a\3\2\2\2\u031c\u031f\3\2\2\2\u031d\u031b\3\2\2\2\u031d"+
- "\u031e\3\2\2\2\u031eQ\3\2\2\2\u031f\u031d\3\2\2\2\u0320\u0324\5T+\2\u0321"+
- "\u0324\5V,\2\u0322\u0324\5X-\2\u0323\u0320\3\2\2\2\u0323\u0321\3\2\2\2"+
- "\u0323\u0322\3\2\2\2\u0324S\3\2\2\2\u0325\u0326\7\u0099\2\2\u0326\u032a"+
- "\7|\2\2\u0327\u0328\7\u0098\2\2\u0328\u032a\7|\2\2\u0329\u0325\3\2\2\2"+
- "\u0329\u0327\3\2\2\2\u032aU\3\2\2\2\u032b\u032d\7z\2\2\u032c\u032e\5Z"+
- ".\2\u032d\u032c\3\2\2\2\u032d\u032e\3\2\2\2\u032eW\3\2\2\2\u032f\u0330"+
- "\7y\2\2\u0330\u0335\5\\/\2\u0331\u0332\7}\2\2\u0332\u0334\5\\/\2\u0333"+
- "\u0331\3\2\2\2\u0334\u0337\3\2\2\2\u0335\u0333\3\2\2\2\u0335\u0336\3\2"+
- "\2\2\u0336Y\3\2\2\2\u0337\u0335\3\2\2\2\u0338\u0350\5\\/\2\u0339\u033a"+
- "\7{\2\2\u033a\u0350\5\\/\2\u033b\u033c\5\\/\2\u033c\u033d\7}\2\2\u033d"+
- "\u033e\7\u0099\2\2\u033e\u0350\3\2\2\2\u033f\u0340\7~\2\2\u0340\u0341"+
- "\5\\/\2\u0341\u0342\7\177\2\2\u0342\u0343\7}\2\2\u0343\u0344\7\u0099\2"+
- "\2\u0344\u0350\3\2\2\2\u0345\u0346\7~\2\2\u0346\u0347\5\\/\2\u0347\u0348"+
- "\7}\2\2\u0348\u0349\7\u0099\2\2\u0349\u034a\7\177\2\2\u034a\u0350\3\2"+
- "\2\2\u034b\u034c\7~\2\2\u034c\u034d\5\\/\2\u034d\u034e\7\177\2\2\u034e"+
- "\u0350\3\2\2\2\u034f\u0338\3\2\2\2\u034f\u0339\3\2\2\2\u034f\u033b\3\2"+
- "\2\2\u034f\u033f\3\2\2\2\u034f\u0345\3\2\2\2\u034f\u034b\3\2\2\2\u0350"+
- "[\3\2\2\2\u0351\u0352\b/\1\2\u0352\u0353\7\u0080\2\2\u0353\u0354\5\\/"+
- "\2\u0354\u0355\7\u0081\2\2\u0355\u0360\3\2\2\2\u0356\u0357\t\t\2\2\u0357"+
- "\u0360\5\\/\n\u0358\u0360\7\u0099\2\2\u0359\u0360\7\u0097\2\2\u035a\u035b"+
- "\7\u008b\2\2\u035b\u035c\7\u0099\2\2\u035c\u0360\7\u008c\2\2\u035d\u0360"+
- "\7\u008d\2\2\u035e\u0360\7\u0096\2\2\u035f\u0351\3\2\2\2\u035f\u0356\3"+
- "\2\2\2\u035f\u0358\3\2\2\2\u035f\u0359\3\2\2\2\u035f\u035a\3\2\2\2\u035f"+
- "\u035d\3\2\2\2\u035f\u035e\3\2\2\2\u0360\u036f\3\2\2\2\u0361\u0362\f\f"+
- "\2\2\u0362\u0363\7\u0082\2\2\u0363\u036e\5\\/\r\u0364\u0365\f\13\2\2\u0365"+
- "\u0366\t\n\2\2\u0366\u036e\5\\/\f\u0367\u0368\f\t\2\2\u0368\u0369\t\13"+
- "\2\2\u0369\u036e\5\\/\n\u036a\u036b\f\b\2\2\u036b\u036c\t\f\2\2\u036c"+
- "\u036e\5\\/\t\u036d\u0361\3\2\2\2\u036d\u0364\3\2\2\2\u036d\u0367\3\2"+
- "\2\2\u036d\u036a\3\2\2\2\u036e\u0371\3\2\2\2\u036f\u036d\3\2\2\2\u036f"+
- "\u0370\3\2\2\2\u0370]\3\2\2\2\u0371\u036f\3\2\2\2Yglr\u0083\u008c\u0096"+
- "\u009c\u00a4\u00ab\u00b4\u00b9\u00bf\u00c4\u00c9\u00d0\u00d7\u00dc\u00e8"+
- "\u00eb\u00ed\u00f8\u00ff\u0104\u010a\u010c\u0114\u011a\u0126\u0134\u013a"+
- "\u0140\u0146\u014b\u0154\u015b\u0161\u016c\u01a9\u01ad\u01b8\u01cb\u01d4"+
- "\u01d9\u01de\u01e5\u01f2\u01f7\u0203\u0211\u0224\u022d\u0234\u0239\u023e"+
- "\u0240\u0246\u024d\u0253\u0256\u025e\u0261\u0264\u026e\u027a\u0282\u0288"+
- "\u028c\u02a1\u02ab\u02af\u02e1\u02eb\u02ed\u02f5\u02fa\u0304\u0316\u0318"+
- "\u031d\u0323\u0329\u032d\u0335\u034f\u035f\u036d\u036f";
+ "\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34"+
+ "\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34"+
+ "\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\7\34\u01ae\n\34"+
+ "\f\34\16\34\u01b1\13\34\3\34\5\34\u01b4\n\34\3\35\3\35\3\35\3\35\3\35"+
+ "\3\35\3\35\3\35\3\35\5\35\u01bf\n\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35"+
+ "\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\5\35\u01d2\n\35\3\35"+
+ "\3\35\3\35\3\35\3\35\7\35\u01d9\n\35\f\35\16\35\u01dc\13\35\3\35\3\35"+
+ "\5\35\u01e0\n\35\3\36\6\36\u01e3\n\36\r\36\16\36\u01e4\3\37\3\37\3\37"+
+ "\3\37\3\37\5\37\u01ec\n\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37"+
+ "\3\37\3\37\5\37\u01f9\n\37\3\37\7\37\u01fc\n\37\f\37\16\37\u01ff\13\37"+
+ "\3\37\3\37\3\37\3\37\3\37\3\37\3\37\7\37\u0208\n\37\f\37\16\37\u020b\13"+
+ "\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\7\37\u0216\n\37\f\37"+
+ "\16\37\u0219\13\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3"+
+ "\37\3\37\3\37\3\37\3\37\3\37\5\37\u022b\n\37\3\37\3\37\3\37\3\37\3\37"+
+ "\3\37\3\37\5\37\u0234\n\37\3\37\3\37\3\37\3\37\3\37\5\37\u023b\n\37\3"+
+ " \6 \u023e\n \r \16 \u023f\3 \3 \3 \5 \u0245\n \5 \u0247\n \3!\3!\3!\3"+
+ "!\5!\u024d\n!\3\"\3\"\3\"\3\"\3\"\5\"\u0254\n\"\3\"\3\"\7\"\u0258\n\""+
+ "\f\"\16\"\u025b\13\"\5\"\u025d\n\"\3\"\3\"\3\"\3\"\3\"\3\"\5\"\u0265\n"+
+ "\"\3#\5#\u0268\n#\3#\5#\u026b\n#\3$\3$\3$\3$\3$\3$\7$\u0273\n$\f$\16$"+
+ "\u0276\13$\3%\3%\3%\3%\3%\3%\3%\3%\3%\5%\u0281\n%\3%\3%\3%\3%\3%\3%\5"+
+ "%\u0289\n%\3%\3%\3%\3%\5%\u028f\n%\3%\3%\5%\u0293\n%\3%\3%\3%\3%\3%\3"+
+ "%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\7%\u02a6\n%\f%\16%\u02a9\13%\3%\3%"+
+ "\3%\3%\3%\6%\u02b0\n%\r%\16%\u02b1\3%\3%\5%\u02b6\n%\3%\3%\3%\3%\3%\3"+
+ "%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3"+
+ "%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\5%\u02e8\n"+
+ "%\3%\3%\3%\3%\3%\3%\3%\3%\7%\u02f2\n%\f%\16%\u02f5\13%\3&\3&\3&\7&\u02fa"+
+ "\n&\f&\16&\u02fd\13&\3\'\3\'\5\'\u0301\n\'\3\'\3\'\3(\3(\3(\3(\7(\u0309"+
+ "\n(\f(\16(\u030c\13(\3(\3(\3)\3)\3)\3)\3)\3)\3)\3)\3)\3)\3)\3)\3)\5)\u031d"+
+ "\n)\5)\u031f\n)\3*\7*\u0322\n*\f*\16*\u0325\13*\3+\3+\3+\5+\u032a\n+\3"+
+ ",\3,\3,\3,\5,\u0330\n,\3-\3-\5-\u0334\n-\3.\3.\3.\3.\7.\u033a\n.\f.\16"+
+ ".\u033d\13.\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3/\3"+
+ "/\3/\3/\3/\5/\u0356\n/\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3"+
+ "\60\3\60\3\60\3\60\3\60\5\60\u0366\n\60\3\60\3\60\3\60\3\60\3\60\3\60"+
+ "\3\60\3\60\3\60\3\60\3\60\3\60\7\60\u0374\n\60\f\60\16\60\u0377\13\60"+
+ "\3\60\2\t\20\34\36*FH^\61\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&"+
+ "(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^\2\r\3\2\26\27\5\2\21\22\30\31YY"+
+ "\4\2 ##\3\2\34\35\3\2\23\25\3\2\21\22\3\2\36#\3\2\u0085\u0088\3\2\u0083"+
+ "\u0084\3\2\u0089\u008a\3\2\u0085\u0086\2\u03f9\2`\3\2\2\2\4c\3\2\2\2\6"+
+ "i\3\2\2\2\bn\3\2\2\2\nt\3\2\2\2\f\u0085\3\2\2\2\16\u0087\3\2\2\2\20\u008a"+
+ "\3\2\2\2\22\u00a1\3\2\2\2\24\u00c6\3\2\2\2\26\u00cb\3\2\2\2\30\u00d5\3"+
+ "\2\2\2\32\u00dc\3\2\2\2\34\u00e2\3\2\2\2\36\u0101\3\2\2\2 \u0111\3\2\2"+
+ "\2\"\u0114\3\2\2\2$\u0120\3\2\2\2&\u0123\3\2\2\2(\u0126\3\2\2\2*\u012e"+
+ "\3\2\2\2,\u0139\3\2\2\2.\u013e\3\2\2\2\60\u014f\3\2\2\2\62\u0155\3\2\2"+
+ "\2\64\u0167\3\2\2\2\66\u01b3\3\2\2\28\u01df\3\2\2\2:\u01e2\3\2\2\2<\u023a"+
+ "\3\2\2\2>\u023d\3\2\2\2@\u0248\3\2\2\2B\u0264\3\2\2\2D\u026a\3\2\2\2F"+
+ "\u026c\3\2\2\2H\u02b5\3\2\2\2J\u02f6\3\2\2\2L\u02fe\3\2\2\2N\u0304\3\2"+
+ "\2\2P\u031e\3\2\2\2R\u0323\3\2\2\2T\u0329\3\2\2\2V\u032f\3\2\2\2X\u0331"+
+ "\3\2\2\2Z\u0335\3\2\2\2\\\u0355\3\2\2\2^\u0365\3\2\2\2`a\5\6\4\2ab\7\2"+
+ "\2\3b\3\3\2\2\2cd\5R*\2de\7\2\2\3e\5\3\2\2\2fh\5\b\5\2gf\3\2\2\2hk\3\2"+
+ "\2\2ig\3\2\2\2ij\3\2\2\2j\7\3\2\2\2ki\3\2\2\2lo\5\f\7\2mo\5\n\6\2nl\3"+
+ "\2\2\2nm\3\2\2\2o\t\3\2\2\2pq\7`\2\2qu\7^\2\2rs\7a\2\2su\7^\2\2tp\3\2"+
+ "\2\2tr\3\2\2\2u\13\3\2\2\2vw\5\16\b\2wx\7\n\2\2x\u0086\3\2\2\2yz\5\"\22"+
+ "\2z{\7\n\2\2{\u0086\3\2\2\2|}\5(\25\2}~\7\n\2\2~\u0086\3\2\2\2\177\u0086"+
+ "\5.\30\2\u0080\u0086\5L\'\2\u0081\u0086\5\66\34\2\u0082\u0083\5\22\n\2"+
+ "\u0083\u0084\7\n\2\2\u0084\u0086\3\2\2\2\u0085v\3\2\2\2\u0085y\3\2\2\2"+
+ "\u0085|\3\2\2\2\u0085\177\3\2\2\2\u0085\u0080\3\2\2\2\u0085\u0081\3\2"+
+ "\2\2\u0085\u0082\3\2\2\2\u0086\r\3\2\2\2\u0087\u0088\5\26\f\2\u0088\u0089"+
+ "\5\20\t\2\u0089\17\3\2\2\2\u008a\u008e\b\t\1\2\u008b\u008d\5\30\r\2\u008c"+
+ "\u008b\3\2\2\2\u008d\u0090\3\2\2\2\u008e\u008c\3\2\2\2\u008e\u008f\3\2"+
+ "\2\2\u008f\u0091\3\2\2\2\u0090\u008e\3\2\2\2\u0091\u0092\5\24\13\2\u0092"+
+ "\u009e\3\2\2\2\u0093\u0094\f\3\2\2\u0094\u0098\7\f\2\2\u0095\u0097\5\30"+
+ "\r\2\u0096\u0095\3\2\2\2\u0097\u009a\3\2\2\2\u0098\u0096\3\2\2\2\u0098"+
+ "\u0099\3\2\2\2\u0099\u009b\3\2\2\2\u009a\u0098\3\2\2\2\u009b\u009d\5\24"+
+ "\13\2\u009c\u0093\3\2\2\2\u009d\u00a0\3\2\2\2\u009e\u009c\3\2\2\2\u009e"+
+ "\u009f\3\2\2\2\u009f\21\3\2\2\2\u00a0\u009e\3\2\2\2\u00a1\u00a2\7(\2\2"+
+ "\u00a2\u00a6\5\26\f\2\u00a3\u00a5\5\30\r\2\u00a4\u00a3\3\2\2\2\u00a5\u00a8"+
+ "\3\2\2\2\u00a6\u00a4\3\2\2\2\u00a6\u00a7\3\2\2\2\u00a7\u00a9\3\2\2\2\u00a8"+
+ "\u00a6\3\2\2\2\u00a9\u00ad\7u\2\2\u00aa\u00ac\5\32\16\2\u00ab\u00aa\3"+
+ "\2\2\2\u00ac\u00af\3\2\2\2\u00ad\u00ab\3\2\2\2\u00ad\u00ae\3\2\2\2\u00ae"+
+ "\u00b0\3\2\2\2\u00af\u00ad\3\2\2\2\u00b0\u00b1\b\n\1\2\u00b1\23\3\2\2"+
+ "\2\u00b2\u00b6\7u\2\2\u00b3\u00b5\5\32\16\2\u00b4\u00b3\3\2\2\2\u00b5"+
+ "\u00b8\3\2\2\2\u00b6\u00b4\3\2\2\2\u00b6\u00b7\3\2\2\2\u00b7\u00bb\3\2"+
+ "\2\2\u00b8\u00b6\3\2\2\2\u00b9\u00ba\7&\2\2\u00ba\u00bc\5H%\2\u00bb\u00b9"+
+ "\3\2\2\2\u00bb\u00bc\3\2\2\2\u00bc\u00c7\3\2\2\2\u00bd\u00c1\7u\2\2\u00be"+
+ "\u00c0\5\32\16\2\u00bf\u00be\3\2\2\2\u00c0\u00c3\3\2\2\2\u00c1\u00bf\3"+
+ "\2\2\2\u00c1\u00c2\3\2\2\2\u00c2\u00c4\3\2\2\2\u00c3\u00c1\3\2\2\2\u00c4"+
+ "\u00c5\7&\2\2\u00c5\u00c7\5L\'\2\u00c6\u00b2\3\2\2\2\u00c6\u00bd\3\2\2"+
+ "\2\u00c7\25\3\2\2\2\u00c8\u00ca\58\35\2\u00c9\u00c8\3\2\2\2\u00ca\u00cd"+
+ "\3\2\2\2\u00cb\u00c9\3\2\2\2\u00cb\u00cc\3\2\2\2\u00cc\u00ce\3\2\2\2\u00cd"+
+ "\u00cb\3\2\2\2\u00ce\u00d2\5\36\20\2\u00cf\u00d1\58\35\2\u00d0\u00cf\3"+
+ "\2\2\2\u00d1\u00d4\3\2\2\2\u00d2\u00d0\3\2\2\2\u00d2\u00d3\3\2\2\2\u00d3"+
+ "\27\3\2\2\2\u00d4\u00d2\3\2\2\2\u00d5\u00d9\7\23\2\2\u00d6\u00d8\58\35"+
+ "\2\u00d7\u00d6\3\2\2\2\u00d8\u00db\3\2\2\2\u00d9\u00d7\3\2\2\2\u00d9\u00da"+
+ "\3\2\2\2\u00da\31\3\2\2\2\u00db\u00d9\3\2\2\2\u00dc\u00de\7\6\2\2\u00dd"+
+ "\u00df\5H%\2\u00de\u00dd\3\2\2\2\u00de\u00df\3\2\2\2\u00df\u00e0\3\2\2"+
+ "\2\u00e0\u00e1\7\7\2\2\u00e1\33\3\2\2\2\u00e2\u00e3\b\17\1\2\u00e3\u00e4"+
+ "\5\36\20\2\u00e4\u00ef\3\2\2\2\u00e5\u00e6\f\4\2\2\u00e6\u00ee\7\23\2"+
+ "\2\u00e7\u00e8\f\3\2\2\u00e8\u00ea\7\6\2\2\u00e9\u00eb\5H%\2\u00ea\u00e9"+
+ "\3\2\2\2\u00ea\u00eb\3\2\2\2\u00eb\u00ec\3\2\2\2\u00ec\u00ee\7\7\2\2\u00ed"+
+ "\u00e5\3\2\2\2\u00ed\u00e7\3\2\2\2\u00ee\u00f1\3\2\2\2\u00ef\u00ed\3\2"+
+ "\2\2\u00ef\u00f0\3\2\2\2\u00f0\35\3\2\2\2\u00f1\u00ef\3\2\2\2\u00f2\u00f3"+
+ "\b\20\1\2\u00f3\u00f4\7\b\2\2\u00f4\u00f5\5\36\20\2\u00f5\u00f6\7\t\2"+
+ "\2\u00f6\u0102\3\2\2\2\u00f7\u0102\7[\2\2\u00f8\u00fa\7Z\2\2\u00f9\u00fb"+
+ "\7[\2\2\u00fa\u00f9\3\2\2\2\u00fa\u00fb\3\2\2\2\u00fb\u0102\3\2\2\2\u00fc"+
+ "\u0102\5\"\22\2\u00fd\u0102\5 \21\2\u00fe\u0102\5(\25\2\u00ff\u0102\5"+
+ "&\24\2\u0100\u0102\7\3\2\2\u0101\u00f2\3\2\2\2\u0101\u00f7\3\2\2\2\u0101"+
+ "\u00f8\3\2\2\2\u0101\u00fc\3\2\2\2\u0101\u00fd\3\2\2\2\u0101\u00fe\3\2"+
+ "\2\2\u0101\u00ff\3\2\2\2\u0101\u0100\3\2\2\2\u0102\u010e\3\2\2\2\u0103"+
+ "\u0104\f\t\2\2\u0104\u0106\7\6\2\2\u0105\u0107\5H%\2\u0106\u0105\3\2\2"+
+ "\2\u0106\u0107\3\2\2\2\u0107\u0108\3\2\2\2\u0108\u010d\7\7\2\2\u0109\u010a"+
+ "\f\b\2\2\u010a\u010b\7\b\2\2\u010b\u010d\7\t\2\2\u010c\u0103\3\2\2\2\u010c"+
+ "\u0109\3\2\2\2\u010d\u0110\3\2\2\2\u010e\u010c\3\2\2\2\u010e\u010f\3\2"+
+ "\2\2\u010f\37\3\2\2\2\u0110\u010e\3\2\2\2\u0111\u0112\7N\2\2\u0112\u0113"+
+ "\7u\2\2\u0113!\3\2\2\2\u0114\u0116\7N\2\2\u0115\u0117\7u\2\2\u0116\u0115"+
+ "\3\2\2\2\u0116\u0117\3\2\2\2\u0117\u0118\3\2\2\2\u0118\u011a\7\4\2\2\u0119"+
+ "\u011b\5$\23\2\u011a\u0119\3\2\2\2\u011b\u011c\3\2\2\2\u011c\u011a\3\2"+
+ "\2\2\u011c\u011d\3\2\2\2\u011d\u011e\3\2\2\2\u011e\u011f\7\5\2\2\u011f"+
+ "#\3\2\2\2\u0120\u0121\5\16\b\2\u0121\u0122\7\n\2\2\u0122%\3\2\2\2\u0123"+
+ "\u0124\7O\2\2\u0124\u0125\7u\2\2\u0125\'\3\2\2\2\u0126\u0128\7O\2\2\u0127"+
+ "\u0129\7u\2\2\u0128\u0127\3\2\2\2\u0128\u0129\3\2\2\2\u0129\u012a\3\2"+
+ "\2\2\u012a\u012b\7\4\2\2\u012b\u012c\5*\26\2\u012c\u012d\7\5\2\2\u012d"+
+ ")\3\2\2\2\u012e\u012f\b\26\1\2\u012f\u0130\5,\27\2\u0130\u0136\3\2\2\2"+
+ "\u0131\u0132\f\3\2\2\u0132\u0133\7\f\2\2\u0133\u0135\5,\27\2\u0134\u0131"+
+ "\3\2\2\2\u0135\u0138\3\2\2\2\u0136\u0134\3\2\2\2\u0136\u0137\3\2\2\2\u0137"+
+ "+\3\2\2\2\u0138\u0136\3\2\2\2\u0139\u013c\7u\2\2\u013a\u013b\7&\2\2\u013b"+
+ "\u013d\5H%\2\u013c\u013a\3\2\2\2\u013c\u013d\3\2\2\2\u013d-\3\2\2\2\u013e"+
+ "\u0142\5\26\f\2\u013f\u0141\5\30\r\2\u0140\u013f\3\2\2\2\u0141\u0144\3"+
+ "\2\2\2\u0142\u0140\3\2\2\2\u0142\u0143\3\2\2\2\u0143\u0145\3\2\2\2\u0144"+
+ "\u0142\3\2\2\2\u0145\u0146\7u\2\2\u0146\u0148\7\b\2\2\u0147\u0149\5\62"+
+ "\32\2\u0148\u0147\3\2\2\2\u0148\u0149\3\2\2\2\u0149\u014a\3\2\2\2\u014a"+
+ "\u014d\7\t\2\2\u014b\u014e\5\60\31\2\u014c\u014e\7\n\2\2\u014d\u014b\3"+
+ "\2\2\2\u014d\u014c\3\2\2\2\u014e/\3\2\2\2\u014f\u0151\7\4\2\2\u0150\u0152"+
+ "\5:\36\2\u0151\u0150\3\2\2\2\u0151\u0152\3\2\2\2\u0152\u0153\3\2\2\2\u0153"+
+ "\u0154\7\5\2\2\u0154\61\3\2\2\2\u0155\u015a\5\64\33\2\u0156\u0157\7\f"+
+ "\2\2\u0157\u0159\5\64\33\2\u0158\u0156\3\2\2\2\u0159\u015c\3\2\2\2\u015a"+
+ "\u0158\3\2\2\2\u015a\u015b\3\2\2\2\u015b\63\3\2\2\2\u015c\u015a\3\2\2"+
+ "\2\u015d\u0161\5\26\f\2\u015e\u0160\5\30\r\2\u015f\u015e\3\2\2\2\u0160"+
+ "\u0163\3\2\2\2\u0161\u015f\3\2\2\2\u0161\u0162\3\2\2\2\u0162\u0164\3\2"+
+ "\2\2\u0163\u0161\3\2\2\2\u0164\u0165\7u\2\2\u0165\u0168\3\2\2\2\u0166"+
+ "\u0168\7[\2\2\u0167\u015d\3\2\2\2\u0167\u0166\3\2\2\2\u0168\65\3\2\2\2"+
+ "\u0169\u016a\7b\2\2\u016a\u016b\7)\2\2\u016b\u016c\3\2\2\2\u016c\u016d"+
+ "\7\b\2\2\u016d\u0172\7l\2\2\u016e\u016f\7\f\2\2\u016f\u0171\7l\2\2\u0170"+
+ "\u016e\3\2\2\2\u0171\u0174\3\2\2\2\u0172\u0170\3\2\2\2\u0172\u0173\3\2"+
+ "\2\2\u0173\u0175\3\2\2\2\u0174\u0172\3\2\2\2\u0175\u01b4\7\t\2\2\u0176"+
+ "\u0177\7b\2\2\u0177\u0178\7*\2\2\u0178\u0179\3\2\2\2\u0179\u017a\7\b\2"+
+ "\2\u017a\u017b\7l\2\2\u017b\u01b4\7\t\2\2\u017c\u017d\7b\2\2\u017d\u017e"+
+ "\7+\2\2\u017e\u017f\3\2\2\2\u017f\u0180\7\b\2\2\u0180\u0181\7u\2\2\u0181"+
+ "\u01b4\7\t\2\2\u0182\u0183\7b\2\2\u0183\u0184\7-\2\2\u0184\u0185\3\2\2"+
+ "\2\u0185\u0186\7\b\2\2\u0186\u0187\7u\2\2\u0187\u01b4\7\t\2\2\u0188\u0189"+
+ "\7b\2\2\u0189\u018a\7,\2\2\u018a\u018b\3\2\2\2\u018b\u018c\7\b\2\2\u018c"+
+ "\u018d\7^\2\2\u018d\u01b4\7\t\2\2\u018e\u018f\7b\2\2\u018f\u0190\7.\2"+
+ "\2\u0190\u0191\3\2\2\2\u0191\u0192\7\b\2\2\u0192\u0193\7u\2\2\u0193\u01b4"+
+ "\7\t\2\2\u0194\u0195\7b\2\2\u0195\u0196\7/\2\2\u0196\u0197\3\2\2\2\u0197"+
+ "\u0198\7\b\2\2\u0198\u0199\7u\2\2\u0199\u01b4\7\t\2\2\u019a\u019b\7b\2"+
+ "\2\u019b\u019c\7\60\2\2\u019c\u019d\3\2\2\2\u019d\u019e\7\b\2\2\u019e"+
+ "\u019f\7u\2\2\u019f\u01b4\7\t\2\2\u01a0\u01a1\7b\2\2\u01a1\u01a2\7?\2"+
+ "\2\u01a2\u01a3\3\2\2\2\u01a3\u01a4\7\b\2\2\u01a4\u01a5\7@\2\2\u01a5\u01b4"+
+ "\7\t\2\2\u01a6\u01a7\7b\2\2\u01a7\u01a8\7A\2\2\u01a8\u01a9\3\2\2\2\u01a9"+
+ "\u01aa\7\b\2\2\u01aa\u01af\7u\2\2\u01ab\u01ac\7\f\2\2\u01ac\u01ae\7u\2"+
+ "\2\u01ad\u01ab\3\2\2\2\u01ae\u01b1\3\2\2\2\u01af\u01ad\3\2\2\2\u01af\u01b0"+
+ "\3\2\2\2\u01b0\u01b2\3\2\2\2\u01b1\u01af\3\2\2\2\u01b2\u01b4\7\t\2\2\u01b3"+
+ "\u0169\3\2\2\2\u01b3\u0176\3\2\2\2\u01b3\u017c\3\2\2\2\u01b3\u0182\3\2"+
+ "\2\2\u01b3\u0188\3\2\2\2\u01b3\u018e\3\2\2\2\u01b3\u0194\3\2\2\2\u01b3"+
+ "\u019a\3\2\2\2\u01b3\u01a0\3\2\2\2\u01b3\u01a6\3\2\2\2\u01b4\67\3\2\2"+
+ "\2\u01b5\u01e0\7\61\2\2\u01b6\u01b7\7\64\2\2\u01b7\u01b8\7\b\2\2\u01b8"+
+ "\u01b9\7l\2\2\u01b9\u01e0\7\t\2\2\u01ba\u01be\79\2\2\u01bb\u01bc\7\b\2"+
+ "\2\u01bc\u01bd\7u\2\2\u01bd\u01bf\7\t\2\2\u01be\u01bb\3\2\2\2\u01be\u01bf"+
+ "\3\2\2\2\u01bf\u01e0\3\2\2\2\u01c0\u01e0\7;\2\2\u01c1\u01e0\7<\2\2\u01c2"+
+ "\u01c3\7:\2\2\u01c3\u01c4\7\b\2\2\u01c4\u01c5\7l\2\2\u01c5\u01e0\7\t\2"+
+ "\2\u01c6\u01e0\7\66\2\2\u01c7\u01e0\7\67\2\2\u01c8\u01e0\7=\2\2\u01c9"+
+ "\u01e0\7>\2\2\u01ca\u01e0\7\62\2\2\u01cb\u01e0\7\63\2\2\u01cc\u01e0\7"+
+ "\65\2\2\u01cd\u01d1\78\2\2\u01ce\u01cf\7\b\2\2\u01cf\u01d0\7u\2\2\u01d0"+
+ "\u01d2\7\t\2\2\u01d1\u01ce\3\2\2\2\u01d1\u01d2\3\2\2\2\u01d2\u01e0\3\2"+
+ "\2\2\u01d3\u01d4\7)\2\2\u01d4\u01d5\7\b\2\2\u01d5\u01da\7l\2\2\u01d6\u01d7"+
+ "\7\f\2\2\u01d7\u01d9\7l\2\2\u01d8\u01d6\3\2\2\2\u01d9\u01dc\3\2\2\2\u01da"+
+ "\u01d8\3\2\2\2\u01da\u01db\3\2\2\2\u01db\u01dd\3\2\2\2\u01dc\u01da\3\2"+
+ "\2\2\u01dd\u01e0\7\t\2\2\u01de\u01e0\7@\2\2\u01df\u01b5\3\2\2\2\u01df"+
+ "\u01b6\3\2\2\2\u01df\u01ba\3\2\2\2\u01df\u01c0\3\2\2\2\u01df\u01c1\3\2"+
+ "\2\2\u01df\u01c2\3\2\2\2\u01df\u01c6\3\2\2\2\u01df\u01c7\3\2\2\2\u01df"+
+ "\u01c8\3\2\2\2\u01df\u01c9\3\2\2\2\u01df\u01ca\3\2\2\2\u01df\u01cb\3\2"+
+ "\2\2\u01df\u01cc\3\2\2\2\u01df\u01cd\3\2\2\2\u01df\u01d3\3\2\2\2\u01df"+
+ "\u01de\3\2\2\2\u01e09\3\2\2\2\u01e1\u01e3\5<\37\2\u01e2\u01e1\3\2\2\2"+
+ "\u01e3\u01e4\3\2\2\2\u01e4\u01e2\3\2\2\2\u01e4\u01e5\3\2\2\2\u01e5;\3"+
+ "\2\2\2\u01e6\u01e7\5\16\b\2\u01e7\u01e8\7\n\2\2\u01e8\u023b\3\2\2\2\u01e9"+
+ "\u01eb\7\4\2\2\u01ea\u01ec\5:\36\2\u01eb\u01ea\3\2\2\2\u01eb\u01ec\3\2"+
+ "\2\2\u01ec\u01ed\3\2\2\2\u01ed\u023b\7\5\2\2\u01ee\u01ef\5F$\2\u01ef\u01f0"+
+ "\7\n\2\2\u01f0\u023b\3\2\2\2\u01f1\u01f2\7B\2\2\u01f2\u01f3\7\b\2\2\u01f3"+
+ "\u01f4\5F$\2\u01f4\u01f5\7\t\2\2\u01f5\u01f8\5<\37\2\u01f6\u01f7\7C\2"+
+ "\2\u01f7\u01f9\5<\37\2\u01f8\u01f6\3\2\2\2\u01f8\u01f9\3\2\2\2\u01f9\u023b"+
+ "\3\2\2\2\u01fa\u01fc\58\35\2\u01fb\u01fa\3\2\2\2\u01fc\u01ff\3\2\2\2\u01fd"+
+ "\u01fb\3\2\2\2\u01fd\u01fe\3\2\2\2\u01fe\u0200\3\2\2\2\u01ff\u01fd\3\2"+
+ "\2\2\u0200\u0201\7D\2\2\u0201\u0202\7\b\2\2\u0202\u0203\5F$\2\u0203\u0204"+
+ "\7\t\2\2\u0204\u0205\5<\37\2\u0205\u023b\3\2\2\2\u0206\u0208\58\35\2\u0207"+
+ "\u0206\3\2\2\2\u0208\u020b\3\2\2\2\u0209\u0207\3\2\2\2\u0209\u020a\3\2"+
+ "\2\2\u020a\u020c\3\2\2\2\u020b\u0209\3\2\2\2\u020c\u020d\7E\2\2\u020d"+
+ "\u020e\5<\37\2\u020e\u020f\7D\2\2\u020f\u0210\7\b\2\2\u0210\u0211\5F$"+
+ "\2\u0211\u0212\7\t\2\2\u0212\u0213\7\n\2\2\u0213\u023b\3\2\2\2\u0214\u0216"+
+ "\58\35\2\u0215\u0214\3\2\2\2\u0216\u0219\3\2\2\2\u0217\u0215\3\2\2\2\u0217"+
+ "\u0218\3\2\2\2\u0218\u021a\3\2\2\2\u0219\u0217\3\2\2\2\u021a\u021b\7F"+
+ "\2\2\u021b\u021c\7\b\2\2\u021c\u021d\5B\"\2\u021d\u021e\7\t\2\2\u021e"+
+ "\u021f\5<\37\2\u021f\u023b\3\2\2\2\u0220\u0221\7G\2\2\u0221\u0222\7\b"+
+ "\2\2\u0222\u0223\5F$\2\u0223\u0224\7\t\2\2\u0224\u0225\7\4\2\2\u0225\u0226"+
+ "\5> \2\u0226\u0227\7\5\2\2\u0227\u023b\3\2\2\2\u0228\u022a\7H\2\2\u0229"+
+ "\u022b\5F$\2\u022a\u0229\3\2\2\2\u022a\u022b\3\2\2\2\u022b\u022c\3\2\2"+
+ "\2\u022c\u023b\7\n\2\2\u022d\u022e\7I\2\2\u022e\u023b\7\n\2\2\u022f\u0230"+
+ "\7J\2\2\u0230\u023b\7\n\2\2\u0231\u0233\7K\2\2\u0232\u0234\5N(\2\u0233"+
+ "\u0232\3\2\2\2\u0233\u0234\3\2\2\2\u0234\u0235\3\2\2\2\u0235\u0236\7\4"+
+ "\2\2\u0236\u0237\5R*\2\u0237\u0238\7\u008c\2\2\u0238\u023b\3\2\2\2\u0239"+
+ "\u023b\5L\'\2\u023a\u01e6\3\2\2\2\u023a\u01e9\3\2\2\2\u023a\u01ee\3\2"+
+ "\2\2\u023a\u01f1\3\2\2\2\u023a\u01fd\3\2\2\2\u023a\u0209\3\2\2\2\u023a"+
+ "\u0217\3\2\2\2\u023a\u0220\3\2\2\2\u023a\u0228\3\2\2\2\u023a\u022d\3\2"+
+ "\2\2\u023a\u022f\3\2\2\2\u023a\u0231\3\2\2\2\u023a\u0239\3\2\2\2\u023b"+
+ "=\3\2\2\2\u023c\u023e\5@!\2\u023d\u023c\3\2\2\2\u023e\u023f\3\2\2\2\u023f"+
+ "\u023d\3\2\2\2\u023f\u0240\3\2\2\2\u0240\u0246\3\2\2\2\u0241\u0242\7L"+
+ "\2\2\u0242\u0244\7\13\2\2\u0243\u0245\5:\36\2\u0244\u0243\3\2\2\2\u0244"+
+ "\u0245\3\2\2\2\u0245\u0247\3\2\2\2\u0246\u0241\3\2\2\2\u0246\u0247\3\2"+
+ "\2\2\u0247?\3\2\2\2\u0248\u0249\7M\2\2\u0249\u024a\5H%\2\u024a\u024c\7"+
+ "\13\2\2\u024b\u024d\5:\36\2\u024c\u024b\3\2\2\2\u024c\u024d\3\2\2\2\u024d"+
+ "A\3\2\2\2\u024e\u024f\5D#\2\u024f\u0250\7\n\2\2\u0250\u0251\5F$\2\u0251"+
+ "\u0253\7\n\2\2\u0252\u0254\5F$\2\u0253\u0252\3\2\2\2\u0253\u0254\3\2\2"+
+ "\2\u0254\u0265\3\2\2\2\u0255\u0259\5\26\f\2\u0256\u0258\5\30\r\2\u0257"+
+ "\u0256\3\2\2\2\u0258\u025b\3\2\2\2\u0259\u0257\3\2\2\2\u0259\u025a\3\2"+
+ "\2\2\u025a\u025d\3\2\2\2\u025b\u0259\3\2\2\2\u025c\u0255\3\2\2\2\u025c"+
+ "\u025d\3\2\2\2\u025d\u025e\3\2\2\2\u025e\u025f\7u\2\2\u025f\u0260\7\13"+
+ "\2\2\u0260\u0261\5H%\2\u0261\u0262\7\r\2\2\u0262\u0263\5H%\2\u0263\u0265"+
+ "\3\2\2\2\u0264\u024e\3\2\2\2\u0264\u025c\3\2\2\2\u0265C\3\2\2\2\u0266"+
+ "\u0268\5\16\b\2\u0267\u0266\3\2\2\2\u0267\u0268\3\2\2\2\u0268\u026b\3"+
+ "\2\2\2\u0269\u026b\5F$\2\u026a\u0267\3\2\2\2\u026a\u0269\3\2\2\2\u026b"+
+ "E\3\2\2\2\u026c\u026d\b$\1\2\u026d\u026e\5H%\2\u026e\u0274\3\2\2\2\u026f"+
+ "\u0270\f\3\2\2\u0270\u0271\7\f\2\2\u0271\u0273\5H%\2\u0272\u026f\3\2\2"+
+ "\2\u0273\u0276\3\2\2\2\u0274\u0272\3\2\2\2\u0274\u0275\3\2\2\2\u0275G"+
+ "\3\2\2\2\u0276\u0274\3\2\2\2\u0277\u0278\b%\1\2\u0278\u0279\7\b\2\2\u0279"+
+ "\u027a\5F$\2\u027a\u027b\7\t\2\2\u027b\u02b6\3\2\2\2\u027c\u027d\7P\2"+
+ "\2\u027d\u0280\7\b\2\2\u027e\u0281\5H%\2\u027f\u0281\5\34\17\2\u0280\u027e"+
+ "\3\2\2\2\u0280\u027f\3\2\2\2\u0281\u0282\3\2\2\2\u0282\u0283\7\t\2\2\u0283"+
+ "\u02b6\3\2\2\2\u0284\u0285\7Q\2\2\u0285\u0288\7\b\2\2\u0286\u0289\5H%"+
+ "\2\u0287\u0289\5\34\17\2\u0288\u0286\3\2\2\2\u0288\u0287\3\2\2\2\u0289"+
+ "\u028a\3\2\2\2\u028a\u028b\7\t\2\2\u028b\u02b6\3\2\2\2\u028c\u028e\7R"+
+ "\2\2\u028d\u028f\7\b\2\2\u028e\u028d\3\2\2\2\u028e\u028f\3\2\2\2\u028f"+
+ "\u0290\3\2\2\2\u0290\u0292\7u\2\2\u0291\u0293\7\t\2\2\u0292\u0291\3\2"+
+ "\2\2\u0292\u0293\3\2\2\2\u0293\u02b6\3\2\2\2\u0294\u0295\7\b\2\2\u0295"+
+ "\u0296\5\34\17\2\u0296\u0297\7\t\2\2\u0297\u0298\5H%\32\u0298\u02b6\3"+
+ "\2\2\2\u0299\u029a\t\2\2\2\u029a\u02b6\5H%\31\u029b\u029c\7\23\2\2\u029c"+
+ "\u02b6\5H%\27\u029d\u029e\t\3\2\2\u029e\u02b6\5H%\26\u029f\u02a0\t\4\2"+
+ "\2\u02a0\u02b6\5H%\22\u02a1\u02a2\7\4\2\2\u02a2\u02a7\5H%\2\u02a3\u02a4"+
+ "\7\f\2\2\u02a4\u02a6\5H%\2\u02a5\u02a3\3\2\2\2\u02a6\u02a9\3\2\2\2\u02a7"+
+ "\u02a5\3\2\2\2\u02a7\u02a8\3\2\2\2\u02a8\u02aa\3\2\2\2\u02a9\u02a7\3\2"+
+ "\2\2\u02aa\u02ab\7\5\2\2\u02ab\u02b6\3\2\2\2\u02ac\u02b6\7u\2\2\u02ad"+
+ "\u02b6\7l\2\2\u02ae\u02b0\7^\2\2\u02af\u02ae\3\2\2\2\u02b0\u02b1\3\2\2"+
+ "\2\u02b1\u02af\3\2\2\2\u02b1\u02b2\3\2\2\2\u02b2\u02b6\3\2\2\2\u02b3\u02b6"+
+ "\7_\2\2\u02b4\u02b6\7\\\2\2\u02b5\u0277\3\2\2\2\u02b5\u027c\3\2\2\2\u02b5"+
+ "\u0284\3\2\2\2\u02b5\u028c\3\2\2\2\u02b5\u0294\3\2\2\2\u02b5\u0299\3\2"+
+ "\2\2\u02b5\u029b\3\2\2\2\u02b5\u029d\3\2\2\2\u02b5\u029f\3\2\2\2\u02b5"+
+ "\u02a1\3\2\2\2\u02b5\u02ac\3\2\2\2\u02b5\u02ad\3\2\2\2\u02b5\u02af\3\2"+
+ "\2\2\u02b5\u02b3\3\2\2\2\u02b5\u02b4\3\2\2\2\u02b6\u02f3\3\2\2\2\u02b7"+
+ "\u02b8\f\25\2\2\u02b8\u02b9\t\5\2\2\u02b9\u02f2\5H%\26\u02ba\u02bb\f\24"+
+ "\2\2\u02bb\u02bc\t\6\2\2\u02bc\u02f2\5H%\25\u02bd\u02be\f\23\2\2\u02be"+
+ "\u02bf\t\7\2\2\u02bf\u02f2\5H%\24\u02c0\u02c1\f\21\2\2\u02c1\u02c2\t\b"+
+ "\2\2\u02c2\u02f2\5H%\22\u02c3\u02c4\f\20\2\2\u02c4\u02c5\7\30\2\2\u02c5"+
+ "\u02f2\5H%\21\u02c6\u02c7\f\17\2\2\u02c7\u02c8\7\32\2\2\u02c8\u02f2\5"+
+ "H%\20\u02c9\u02ca\f\16\2\2\u02ca\u02cb\7\33\2\2\u02cb\u02f2\5H%\17\u02cc"+
+ "\u02cd\f\r\2\2\u02cd\u02ce\7$\2\2\u02ce\u02f2\5H%\16\u02cf\u02d0\f\f\2"+
+ "\2\u02d0\u02d1\7%\2\2\u02d1\u02f2\5H%\r\u02d2\u02d3\f\13\2\2\u02d3\u02d4"+
+ "\7\16\2\2\u02d4\u02d5\5H%\2\u02d5\u02d6\7\13\2\2\u02d6\u02d7\5H%\f\u02d7"+
+ "\u02f2\3\2\2\2\u02d8\u02d9\f\n\2\2\u02d9\u02da\7&\2\2\u02da\u02f2\5H%"+
+ "\n\u02db\u02dc\f\t\2\2\u02dc\u02dd\7\'\2\2\u02dd\u02f2\5H%\t\u02de\u02df"+
+ "\f!\2\2\u02df\u02e0\7\17\2\2\u02e0\u02f2\7u\2\2\u02e1\u02e2\f \2\2\u02e2"+
+ "\u02e3\7\20\2\2\u02e3\u02f2\7u\2\2\u02e4\u02e5\f\37\2\2\u02e5\u02e7\7"+
+ "\b\2\2\u02e6\u02e8\5J&\2\u02e7\u02e6\3\2\2\2\u02e7\u02e8\3\2\2\2\u02e8"+
+ "\u02e9\3\2\2\2\u02e9\u02f2\7\t\2\2\u02ea\u02eb\f\33\2\2\u02eb\u02ec\7"+
+ "\6\2\2\u02ec\u02ed\5F$\2\u02ed\u02ee\7\7\2\2\u02ee\u02f2\3\2\2\2\u02ef"+
+ "\u02f0\f\30\2\2\u02f0\u02f2\t\2\2\2\u02f1\u02b7\3\2\2\2\u02f1\u02ba\3"+
+ "\2\2\2\u02f1\u02bd\3\2\2\2\u02f1\u02c0\3\2\2\2\u02f1\u02c3\3\2\2\2\u02f1"+
+ "\u02c6\3\2\2\2\u02f1\u02c9\3\2\2\2\u02f1\u02cc\3\2\2\2\u02f1\u02cf\3\2"+
+ "\2\2\u02f1\u02d2\3\2\2\2\u02f1\u02d8\3\2\2\2\u02f1\u02db\3\2\2\2\u02f1"+
+ "\u02de\3\2\2\2\u02f1\u02e1\3\2\2\2\u02f1\u02e4\3\2\2\2\u02f1\u02ea\3\2"+
+ "\2\2\u02f1\u02ef\3\2\2\2\u02f2\u02f5\3\2\2\2\u02f3\u02f1\3\2\2\2\u02f3"+
+ "\u02f4\3\2\2\2\u02f4I\3\2\2\2\u02f5\u02f3\3\2\2\2\u02f6\u02fb\5H%\2\u02f7"+
+ "\u02f8\7\f\2\2\u02f8\u02fa\5H%\2\u02f9\u02f7\3\2\2\2\u02fa\u02fd\3\2\2"+
+ "\2\u02fb\u02f9\3\2\2\2\u02fb\u02fc\3\2\2\2\u02fcK\3\2\2\2\u02fd\u02fb"+
+ "\3\2\2\2\u02fe\u0300\7S\2\2\u02ff\u0301\5N(\2\u0300\u02ff\3\2\2\2\u0300"+
+ "\u0301\3\2\2\2\u0301\u0302\3\2\2\2\u0302\u0303\7]\2\2\u0303M\3\2\2\2\u0304"+
+ "\u0305\7\b\2\2\u0305\u030a\5P)\2\u0306\u0307\7\f\2\2\u0307\u0309\5P)\2"+
+ "\u0308\u0306\3\2\2\2\u0309\u030c\3\2\2\2\u030a\u0308\3\2\2\2\u030a\u030b"+
+ "\3\2\2\2\u030b\u030d\3\2\2\2\u030c\u030a\3\2\2\2\u030d\u030e\7\t\2\2\u030e"+
+ "O\3\2\2\2\u030f\u0310\7T\2\2\u0310\u031f\7^\2\2\u0311\u0312\7U\2\2\u0312"+
+ "\u031f\7u\2\2\u0313\u0314\7V\2\2\u0314\u031f\7^\2\2\u0315\u0316\7W\2\2"+
+ "\u0316\u031f\5H%\2\u0317\u0318\7X\2\2\u0318\u031f\5H%\2\u0319\u031c\7"+
+ "*\2\2\u031a\u031d\7\65\2\2\u031b\u031d\5H%\2\u031c\u031a\3\2\2\2\u031c"+
+ "\u031b\3\2\2\2\u031d\u031f\3\2\2\2\u031e\u030f\3\2\2\2\u031e\u0311\3\2"+
+ "\2\2\u031e\u0313\3\2\2\2\u031e\u0315\3\2\2\2\u031e\u0317\3\2\2\2\u031e"+
+ "\u0319\3\2\2\2\u031fQ\3\2\2\2\u0320\u0322\5T+\2\u0321\u0320\3\2\2\2\u0322"+
+ "\u0325\3\2\2\2\u0323\u0321\3\2\2\2\u0323\u0324\3\2\2\2\u0324S\3\2\2\2"+
+ "\u0325\u0323\3\2\2\2\u0326\u032a\5V,\2\u0327\u032a\5X-\2\u0328\u032a\5"+
+ "Z.\2\u0329\u0326\3\2\2\2\u0329\u0327\3\2\2\2\u0329\u0328\3\2\2\2\u032a"+
+ "U\3\2\2\2\u032b\u032c\7\u0099\2\2\u032c\u0330\7|\2\2\u032d\u032e\7\u0098"+
+ "\2\2\u032e\u0330\7|\2\2\u032f\u032b\3\2\2\2\u032f\u032d\3\2\2\2\u0330"+
+ "W\3\2\2\2\u0331\u0333\7z\2\2\u0332\u0334\5\\/\2\u0333\u0332\3\2\2\2\u0333"+
+ "\u0334\3\2\2\2\u0334Y\3\2\2\2\u0335\u0336\7y\2\2\u0336\u033b\5^\60\2\u0337"+
+ "\u0338\7}\2\2\u0338\u033a\5^\60\2\u0339\u0337\3\2\2\2\u033a\u033d\3\2"+
+ "\2\2\u033b\u0339\3\2\2\2\u033b\u033c\3\2\2\2\u033c[\3\2\2\2\u033d\u033b"+
+ "\3\2\2\2\u033e\u0356\5^\60\2\u033f\u0340\7{\2\2\u0340\u0356\5^\60\2\u0341"+
+ "\u0342\5^\60\2\u0342\u0343\7}\2\2\u0343\u0344\7\u0099\2\2\u0344\u0356"+
+ "\3\2\2\2\u0345\u0346\7~\2\2\u0346\u0347\5^\60\2\u0347\u0348\7\177\2\2"+
+ "\u0348\u0349\7}\2\2\u0349\u034a\7\u0099\2\2\u034a\u0356\3\2\2\2\u034b"+
+ "\u034c\7~\2\2\u034c\u034d\5^\60\2\u034d\u034e\7}\2\2\u034e\u034f\7\u0099"+
+ "\2\2\u034f\u0350\7\177\2\2\u0350\u0356\3\2\2\2\u0351\u0352\7~\2\2\u0352"+
+ "\u0353\5^\60\2\u0353\u0354\7\177\2\2\u0354\u0356\3\2\2\2\u0355\u033e\3"+
+ "\2\2\2\u0355\u033f\3\2\2\2\u0355\u0341\3\2\2\2\u0355\u0345\3\2\2\2\u0355"+
+ "\u034b\3\2\2\2\u0355\u0351\3\2\2\2\u0356]\3\2\2\2\u0357\u0358\b\60\1\2"+
+ "\u0358\u0359\7\u0080\2\2\u0359\u035a\5^\60\2\u035a\u035b\7\u0081\2\2\u035b"+
+ "\u0366\3\2\2\2\u035c\u035d\t\t\2\2\u035d\u0366\5^\60\n\u035e\u0366\7\u0099"+
+ "\2\2\u035f\u0366\7\u0097\2\2\u0360\u0361\7\u008b\2\2\u0361\u0362\7\u0099"+
+ "\2\2\u0362\u0366\7\u008c\2\2\u0363\u0366\7\u008d\2\2\u0364\u0366\7\u0096"+
+ "\2\2\u0365\u0357\3\2\2\2\u0365\u035c\3\2\2\2\u0365\u035e\3\2\2\2\u0365"+
+ "\u035f\3\2\2\2\u0365\u0360\3\2\2\2\u0365\u0363\3\2\2\2\u0365\u0364\3\2"+
+ "\2\2\u0366\u0375\3\2\2\2\u0367\u0368\f\f\2\2\u0368\u0369\7\u0082\2\2\u0369"+
+ "\u0374\5^\60\r\u036a\u036b\f\13\2\2\u036b\u036c\t\n\2\2\u036c\u0374\5"+
+ "^\60\f\u036d\u036e\f\t\2\2\u036e\u036f\t\13\2\2\u036f\u0374\5^\60\n\u0370"+
+ "\u0371\f\b\2\2\u0371\u0372\t\f\2\2\u0372\u0374\5^\60\t\u0373\u0367\3\2"+
+ "\2\2\u0373\u036a\3\2\2\2\u0373\u036d\3\2\2\2\u0373\u0370\3\2\2\2\u0374"+
+ "\u0377\3\2\2\2\u0375\u0373\3\2\2\2\u0375\u0376\3\2\2\2\u0376_\3\2\2\2"+
+ "\u0377\u0375\3\2\2\2Zint\u0085\u008e\u0098\u009e\u00a6\u00ad\u00b6\u00bb"+
+ "\u00c1\u00c6\u00cb\u00d2\u00d9\u00de\u00ea\u00ed\u00ef\u00fa\u0101\u0106"+
+ "\u010c\u010e\u0116\u011c\u0128\u0136\u013c\u0142\u0148\u014d\u0151\u015a"+
+ "\u0161\u0167\u0172\u01af\u01b3\u01be\u01d1\u01da\u01df\u01e4\u01eb\u01f8"+
+ "\u01fd\u0209\u0217\u022a\u0233\u023a\u023f\u0244\u0246\u024c\u0253\u0259"+
+ "\u025c\u0264\u0267\u026a\u0274\u0280\u0288\u028e\u0292\u02a7\u02b1\u02b5"+
+ "\u02e7\u02f1\u02f3\u02fb\u0300\u030a\u031c\u031e\u0323\u0329\u032f\u0333"+
+ "\u033b\u0355\u0365\u0373\u0375";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java
index 8524e2e1b..43ed2c7d3 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java
@@ -445,6 +445,18 @@ public class KickCParserBaseListener implements KickCParserListener {
* The default implementation does nothing.
*/
@Override public void exitDeclFunction(KickCParser.DeclFunctionContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void enterDeclFunctionBody(KickCParser.DeclFunctionBodyContext ctx) { }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation does nothing.
+ */
+ @Override public void exitDeclFunctionBody(KickCParser.DeclFunctionBodyContext ctx) { }
/**
* {@inheritDoc}
*
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java
index 5c104aebf..31c715e7d 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java
@@ -265,6 +265,13 @@ public class KickCParserBaseVisitor extends AbstractParseTreeVisitor imple
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitDeclFunction(KickCParser.DeclFunctionContext ctx) { return visitChildren(ctx); }
+ /**
+ * {@inheritDoc}
+ *
+ * The default implementation returns the result of calling
+ * {@link #visitChildren} on {@code ctx}.
+ */
+ @Override public T visitDeclFunctionBody(KickCParser.DeclFunctionBodyContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java
index 71d5a8625..c4672dfdc 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java
@@ -403,6 +403,16 @@ public interface KickCParserListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitDeclFunction(KickCParser.DeclFunctionContext ctx);
+ /**
+ * Enter a parse tree produced by {@link KickCParser#declFunctionBody}.
+ * @param ctx the parse tree
+ */
+ void enterDeclFunctionBody(KickCParser.DeclFunctionBodyContext ctx);
+ /**
+ * Exit a parse tree produced by {@link KickCParser#declFunctionBody}.
+ * @param ctx the parse tree
+ */
+ void exitDeclFunctionBody(KickCParser.DeclFunctionBodyContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#parameterListDecl}.
* @param ctx the parse tree
diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java
index e4f710668..e6f19dba4 100644
--- a/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java
+++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java
@@ -245,6 +245,12 @@ public interface KickCParserVisitor extends ParseTreeVisitor {
* @return the visitor result
*/
T visitDeclFunction(KickCParser.DeclFunctionContext ctx);
+ /**
+ * Visit a parse tree produced by {@link KickCParser#declFunctionBody}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitDeclFunctionBody(KickCParser.DeclFunctionBodyContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#parameterListDecl}.
* @param ctx the parse tree
diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java
index afc4fb9c5..842612738 100644
--- a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java
+++ b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java
@@ -9,6 +9,7 @@ import dk.camelot64.kickc.model.operators.*;
import dk.camelot64.kickc.model.statements.*;
import dk.camelot64.kickc.model.symbols.*;
import dk.camelot64.kickc.model.types.SymbolType;
+import dk.camelot64.kickc.model.types.SymbolTypeConversion;
import dk.camelot64.kickc.model.types.SymbolTypePointer;
import dk.camelot64.kickc.model.types.SymbolTypeProcedure;
import dk.camelot64.kickc.model.values.*;
@@ -17,10 +18,8 @@ import dk.camelot64.kickc.parser.KickCParser;
import dk.camelot64.kickc.parser.KickCParserBaseVisitor;
import dk.camelot64.kickc.passes.utils.SizeOfConstants;
import org.antlr.v4.runtime.BufferedTokenStream;
-import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.Token;
-import org.antlr.v4.runtime.misc.Interval;
import org.antlr.v4.runtime.tree.ParseTree;
import org.antlr.v4.runtime.tree.TerminalNode;
@@ -224,12 +223,12 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor directives = varDecl.getEffectiveDirectives();
String name = ctx.NAME().getText();
- Procedure procedure = getCurrentScope().addProcedure(name, type, currentCodeSegment, currentDataSegment, currentCallingConvention);
- addDirectives(procedure, directives, StatementSource.procedureBegin(ctx));
+ Procedure procedure = new Procedure(name, type, program.getScope(), currentCodeSegment, currentDataSegment, currentCallingConvention);
+ addDirectives(procedure, directives, StatementSource.procedureDecl(ctx));
procedure.setComments(ensureUnusedComments(getCommentsSymbol(ctx)));
varDecl.exitType();
+
scopeStack.push(procedure);
- Label procExit = procedure.addLabel(SymbolRef.PROCEXIT_BLOCK_NAME);
Variable returnVar = null;
if(!SymbolType.VOID.equals(type)) {
returnVar = procedure.add(Variable.createPhiMaster("return", type, procedure, defaultMemoryArea, procedure.getSegmentData()));
@@ -239,27 +238,57 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor) this.visit(ctx.parameterListDecl());
}
procedure.setParameters(parameterList);
- sequence.addStatement(new StatementProcedureBegin(procedure.getRef(), StatementSource.procedureBegin(ctx), Comment.NO_COMMENTS));
- // Add parameter assignments
- if(Procedure.CallingConvention.STACK_CALL.equals(procedure.getCallingConvention())) {
- for(Variable param : parameterList) {
- sequence.addStatement(new StatementAssignment((LValue) param.getRef(), new ParamValue((VariableRef) param.getRef()), true, StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
- }
- }
- if(ctx.stmtSeq() != null) {
- this.visit(ctx.stmtSeq());
- }
- sequence.addStatement(new StatementLabel(procExit.getRef(), StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
- if(Procedure.CallingConvention.PHI_CALL.equals(procedure.getCallingConvention()) && returnVar != null) {
- sequence.addStatement(new StatementAssignment(returnVar.getVariableRef(), returnVar.getRef(), false, StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
- }
- SymbolVariableRef returnVarRef = null;
- if(returnVar != null) {
- returnVarRef = returnVar.getRef();
- }
- sequence.addStatement(new StatementReturn(returnVarRef, StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
scopeStack.pop();
- sequence.addStatement(new StatementProcedureEnd(procedure.getRef(), StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
+
+ // Check that the declaration matches any existing declaration!
+ final Symbol existingSymbol = program.getScope().getSymbol(procedure.getRef());
+ if(existingSymbol!=null) {
+ // Already declared - check equality
+ if(!SymbolTypeConversion.procedureDeclarationMatch((Procedure) existingSymbol, procedure))
+ throw new CompileError("Error! Conflicting declarations for "+procedure.getFullName(), StatementSource.procedureBegin(ctx));
+ } else {
+ // Not declared before - add it
+ program.getScope().add(procedure);
+ }
+
+ if(ctx.declFunctionBody() != null) {
+ // Make sure directives and more are taken from the procedure with the body!
+ if(existingSymbol!=null) {
+ program.getScope().remove(existingSymbol);
+ program.getScope().add(procedure);
+ }
+
+ // Check that the body has not already been added
+ for(Statement statement : sequence.getStatements())
+ if(statement instanceof StatementProcedureBegin && ((StatementProcedureBegin) statement).getProcedure().equals(procedure.getRef()))
+ throw new CompileError("Error! Redefinition of function "+procedure.getFullName(), StatementSource.procedureBegin(ctx));
+ // Add the body
+ scopeStack.push(procedure);
+ sequence.addStatement(new StatementProcedureBegin(procedure.getRef(), StatementSource.procedureBegin(ctx), Comment.NO_COMMENTS));
+ // Add parameter assignments
+ if(Procedure.CallingConvention.STACK_CALL.equals(procedure.getCallingConvention())) {
+ for(Variable param : parameterList) {
+ sequence.addStatement(new StatementAssignment((LValue) param.getRef(), new ParamValue((VariableRef) param.getRef()), true, StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
+ }
+ }
+ Label procExit = procedure.addLabel(SymbolRef.PROCEXIT_BLOCK_NAME);
+ if(ctx.declFunctionBody().stmtSeq() != null) {
+ this.visit(ctx.declFunctionBody().stmtSeq());
+ }
+ sequence.addStatement(new StatementLabel(procExit.getRef(), StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
+ if(Procedure.CallingConvention.PHI_CALL.equals(procedure.getCallingConvention()) && returnVar != null) {
+ sequence.addStatement(new StatementAssignment(returnVar.getVariableRef(), returnVar.getRef(), false, StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
+ }
+ SymbolVariableRef returnVarRef = null;
+ if(returnVar != null) {
+ returnVarRef = returnVar.getRef();
+ }
+ sequence.addStatement(new StatementReturn(returnVarRef, StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
+ scopeStack.pop();
+ sequence.addStatement(new StatementProcedureEnd(procedure.getRef(), StatementSource.procedureEnd(ctx), Comment.NO_COMMENTS));
+ }
+
+
return null;
}
@@ -557,7 +586,7 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor comments = new ArrayList<>();
BufferedTokenStream tokenStream = cParser.getTokenStream();
final int startTokenIndex = ctx.start.getTokenIndex();
- if(startTokenIndex<0)
+ if(startTokenIndex < 0)
return commentBlocks;
List hiddenTokens = tokenStream.getHiddenTokensToLeft(startTokenIndex);
if(hiddenTokens != null) {
diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java
index a0c7c6cca..4e84b106a 100644
--- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java
+++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java
@@ -37,6 +37,11 @@ public class TestPrograms {
public TestPrograms() {
}
+ @Test
+ public void testCStyleDecl0() throws IOException, URISyntaxException {
+ compileAndCompare("cstyle-decl-0");
+ }
+
@Test
public void testPreprocessor8() throws IOException, URISyntaxException {
compileAndCompare("preprocessor-8");
diff --git a/src/test/kc/cstyle-decl-0.kc b/src/test/kc/cstyle-decl-0.kc
new file mode 100644
index 000000000..d42c32e15
--- /dev/null
+++ b/src/test/kc/cstyle-decl-0.kc
@@ -0,0 +1,26 @@
+// Test declarations without body
+
+// Declaration of main-function
+void main(void);
+
+// Declaration of a sum-function
+char sum(char a, char b);
+
+char * const SCREEN = 0x0400;
+
+// Definition of main()
+void main() {
+ SCREEN[0] = sum('a', 2);
+ SCREEN[1] = sum('a', 12);
+}
+
+// Definition of sum()
+char sum(char a, char b) {
+ return a+b;
+}
+
+
+
+
+
+
diff --git a/src/test/ref/cstyle-decl-0.asm b/src/test/ref/cstyle-decl-0.asm
new file mode 100644
index 000000000..04b429ef8
--- /dev/null
+++ b/src/test/ref/cstyle-decl-0.asm
@@ -0,0 +1,34 @@
+// Test declarations without body
+.pc = $801 "Basic"
+:BasicUpstart(main)
+.pc = $80d "Program"
+ .label SCREEN = $400
+// Definition of main()
+main: {
+ // sum('a', 2)
+ lda #2
+ ldx #'a'
+ jsr sum
+ // sum('a', 2)
+ // SCREEN[0] = sum('a', 2)
+ sta SCREEN
+ // sum('a', 12)
+ lda #$c
+ ldx #'a'
+ jsr sum
+ // sum('a', 12)
+ // SCREEN[1] = sum('a', 12)
+ sta SCREEN+1
+ // }
+ rts
+}
+// Definition of sum()
+// sum(byte register(X) a, byte register(A) b)
+sum: {
+ // a+b
+ stx.z $ff
+ clc
+ adc.z $ff
+ // }
+ rts
+}
diff --git a/src/test/ref/cstyle-decl-0.cfg b/src/test/ref/cstyle-decl-0.cfg
new file mode 100644
index 000000000..5adb0b75a
--- /dev/null
+++ b/src/test/ref/cstyle-decl-0.cfg
@@ -0,0 +1,39 @@
+@begin: scope:[] from
+ [0] phi()
+ to:@1
+@1: scope:[] from @begin
+ [1] phi()
+ [2] call main
+ to:@end
+@end: scope:[] from @1
+ [3] phi()
+
+(void()) main()
+main: scope:[main] from @1
+ [4] phi()
+ [5] call sum
+ [6] (byte) sum::return#0 ← (byte) sum::return#2
+ to:main::@1
+main::@1: scope:[main] from main
+ [7] (byte~) main::$0 ← (byte) sum::return#0
+ [8] *((const nomodify byte*) SCREEN) ← (byte~) main::$0
+ [9] call sum
+ [10] (byte) sum::return#1 ← (byte) sum::return#2
+ to:main::@2
+main::@2: scope:[main] from main::@1
+ [11] (byte~) main::$1 ← (byte) sum::return#1
+ [12] *((const nomodify byte*) SCREEN+(byte) 1) ← (byte~) main::$1
+ to:main::@return
+main::@return: scope:[main] from main::@2
+ [13] return
+ to:@return
+
+(byte()) sum((byte) sum::a , (byte) sum::b)
+sum: scope:[sum] from main main::@1
+ [14] (byte) sum::b#2 ← phi( main/(byte) 2 main::@1/(byte) $c )
+ [14] (byte) sum::a#2 ← phi( main/(byte) 'a' main::@1/(byte) 'a' )
+ [15] (byte) sum::return#2 ← (byte) sum::a#2 + (byte) sum::b#2
+ to:sum::@return
+sum::@return: scope:[sum] from sum
+ [16] return
+ to:@return
diff --git a/src/test/ref/cstyle-decl-0.log b/src/test/ref/cstyle-decl-0.log
new file mode 100644
index 000000000..4d61c5cad
--- /dev/null
+++ b/src/test/ref/cstyle-decl-0.log
@@ -0,0 +1,557 @@
+Culled Empty Block (label) @1
+Culled Empty Block (label) sum::@1
+
+CONTROL FLOW GRAPH SSA
+@begin: scope:[] from
+ to:@2
+
+(void()) main()
+main: scope:[main] from @2
+ (byte) sum::a#0 ← (byte) 'a'
+ (byte) sum::b#0 ← (number) 2
+ call sum
+ (byte) sum::return#0 ← (byte) sum::return#3
+ to:main::@1
+main::@1: scope:[main] from main
+ (byte) sum::return#4 ← phi( main/(byte) sum::return#0 )
+ (byte~) main::$0 ← (byte) sum::return#4
+ *((const nomodify byte*) SCREEN + (number) 0) ← (byte~) main::$0
+ (byte) sum::a#1 ← (byte) 'a'
+ (byte) sum::b#1 ← (number) $c
+ call sum
+ (byte) sum::return#1 ← (byte) sum::return#3
+ to:main::@2
+main::@2: scope:[main] from main::@1
+ (byte) sum::return#5 ← phi( main::@1/(byte) sum::return#1 )
+ (byte~) main::$1 ← (byte) sum::return#5
+ *((const nomodify byte*) SCREEN + (number) 1) ← (byte~) main::$1
+ to:main::@return
+main::@return: scope:[main] from main::@2
+ return
+ to:@return
+
+(byte()) sum((byte) sum::a , (byte) sum::b)
+sum: scope:[sum] from main main::@1
+ (byte) sum::b#2 ← phi( main/(byte) sum::b#0 main::@1/(byte) sum::b#1 )
+ (byte) sum::a#2 ← phi( main/(byte) sum::a#0 main::@1/(byte) sum::a#1 )
+ (byte~) sum::$0 ← (byte) sum::a#2 + (byte) sum::b#2
+ (byte) sum::return#2 ← (byte~) sum::$0
+ to:sum::@return
+sum::@return: scope:[sum] from sum
+ (byte) sum::return#6 ← phi( sum/(byte) sum::return#2 )
+ (byte) sum::return#3 ← (byte) sum::return#6
+ return
+ to:@return
+@2: scope:[] from @begin
+ call main
+ to:@3
+@3: scope:[] from @2
+ to:@end
+@end: scope:[] from @3
+
+SYMBOL TABLE SSA
+(label) @2
+(label) @3
+(label) @begin
+(label) @end
+(const nomodify byte*) SCREEN = (byte*)(number) $400
+(void()) main()
+(byte~) main::$0
+(byte~) main::$1
+(label) main::@1
+(label) main::@2
+(label) main::@return
+(byte()) sum((byte) sum::a , (byte) sum::b)
+(byte~) sum::$0
+(label) sum::@return
+(byte) sum::a
+(byte) sum::a#0
+(byte) sum::a#1
+(byte) sum::a#2
+(byte) sum::b
+(byte) sum::b#0
+(byte) sum::b#1
+(byte) sum::b#2
+(byte) sum::return
+(byte) sum::return#0
+(byte) sum::return#1
+(byte) sum::return#2
+(byte) sum::return#3
+(byte) sum::return#4
+(byte) sum::return#5
+(byte) sum::return#6
+
+Adding number conversion cast (unumber) 2 in (byte) sum::b#0 ← (number) 2
+Adding number conversion cast (unumber) 0 in *((const nomodify byte*) SCREEN + (number) 0) ← (byte~) main::$0
+Adding number conversion cast (unumber) $c in (byte) sum::b#1 ← (number) $c
+Adding number conversion cast (unumber) 1 in *((const nomodify byte*) SCREEN + (number) 1) ← (byte~) main::$1
+Successful SSA optimization PassNAddNumberTypeConversions
+Inlining cast (byte) sum::b#0 ← (unumber)(number) 2
+Inlining cast (byte) sum::b#1 ← (unumber)(number) $c
+Successful SSA optimization Pass2InlineCast
+Simplifying constant pointer cast (byte*) 1024
+Simplifying constant integer cast 2
+Simplifying constant integer cast 0
+Simplifying constant integer cast $c
+Simplifying constant integer cast 1
+Successful SSA optimization PassNCastSimplification
+Finalized unsigned number type (byte) 2
+Finalized unsigned number type (byte) 0
+Finalized unsigned number type (byte) $c
+Finalized unsigned number type (byte) 1
+Successful SSA optimization PassNFinalizeNumberTypeConversions
+Alias sum::return#0 = sum::return#4
+Alias sum::return#1 = sum::return#5
+Alias sum::return#2 = sum::$0 sum::return#6 sum::return#3
+Successful SSA optimization Pass2AliasElimination
+Constant (const byte) sum::a#0 = 'a'
+Constant (const byte) sum::b#0 = 2
+Constant (const byte) sum::a#1 = 'a'
+Constant (const byte) sum::b#1 = $c
+Successful SSA optimization Pass2ConstantIdentification
+Simplifying expression containing zero SCREEN in [5] *((const nomodify byte*) SCREEN + (byte) 0) ← (byte~) main::$0
+Successful SSA optimization PassNSimplifyExpressionWithZero
+Inlining constant with var siblings (const byte) sum::a#0
+Inlining constant with var siblings (const byte) sum::b#0
+Inlining constant with var siblings (const byte) sum::a#1
+Inlining constant with var siblings (const byte) sum::b#1
+Constant inlined sum::b#1 = (byte) $c
+Constant inlined sum::b#0 = (byte) 2
+Constant inlined sum::a#1 = (byte) 'a'
+Constant inlined sum::a#0 = (byte) 'a'
+Successful SSA optimization Pass2ConstantInlining
+Consolidated array index constant in *(SCREEN+1)
+Successful SSA optimization Pass2ConstantAdditionElimination
+Adding NOP phi() at start of @begin
+Adding NOP phi() at start of @2
+Adding NOP phi() at start of @3
+Adding NOP phi() at start of @end
+Adding NOP phi() at start of main
+CALL GRAPH
+Calls in [] to main:2
+Calls in [main] to sum:6 sum:10
+
+Created 2 initial phi equivalence classes
+Coalesced down to 2 phi equivalence classes
+Culled Empty Block (label) @3
+Renumbering block @2 to @1
+Adding NOP phi() at start of @begin
+Adding NOP phi() at start of @1
+Adding NOP phi() at start of @end
+Adding NOP phi() at start of main
+
+FINAL CONTROL FLOW GRAPH
+@begin: scope:[] from
+ [0] phi()
+ to:@1
+@1: scope:[] from @begin
+ [1] phi()
+ [2] call main
+ to:@end
+@end: scope:[] from @1
+ [3] phi()
+
+(void()) main()
+main: scope:[main] from @1
+ [4] phi()
+ [5] call sum
+ [6] (byte) sum::return#0 ← (byte) sum::return#2
+ to:main::@1
+main::@1: scope:[main] from main
+ [7] (byte~) main::$0 ← (byte) sum::return#0
+ [8] *((const nomodify byte*) SCREEN) ← (byte~) main::$0
+ [9] call sum
+ [10] (byte) sum::return#1 ← (byte) sum::return#2
+ to:main::@2
+main::@2: scope:[main] from main::@1
+ [11] (byte~) main::$1 ← (byte) sum::return#1
+ [12] *((const nomodify byte*) SCREEN+(byte) 1) ← (byte~) main::$1
+ to:main::@return
+main::@return: scope:[main] from main::@2
+ [13] return
+ to:@return
+
+(byte()) sum((byte) sum::a , (byte) sum::b)
+sum: scope:[sum] from main main::@1
+ [14] (byte) sum::b#2 ← phi( main/(byte) 2 main::@1/(byte) $c )
+ [14] (byte) sum::a#2 ← phi( main/(byte) 'a' main::@1/(byte) 'a' )
+ [15] (byte) sum::return#2 ← (byte) sum::a#2 + (byte) sum::b#2
+ to:sum::@return
+sum::@return: scope:[sum] from sum
+ [16] return
+ to:@return
+
+
+VARIABLE REGISTER WEIGHTS
+(void()) main()
+(byte~) main::$0 22.0
+(byte~) main::$1 22.0
+(byte()) sum((byte) sum::a , (byte) sum::b)
+(byte) sum::a
+(byte) sum::a#2 101.0
+(byte) sum::b
+(byte) sum::b#2 101.0
+(byte) sum::return
+(byte) sum::return#0 22.0
+(byte) sum::return#1 22.0
+(byte) sum::return#2 30.75
+
+Initial phi equivalence classes
+[ sum::a#2 ]
+[ sum::b#2 ]
+Added variable sum::return#0 to live range equivalence class [ sum::return#0 ]
+Added variable main::$0 to live range equivalence class [ main::$0 ]
+Added variable sum::return#1 to live range equivalence class [ sum::return#1 ]
+Added variable main::$1 to live range equivalence class [ main::$1 ]
+Added variable sum::return#2 to live range equivalence class [ sum::return#2 ]
+Complete equivalence classes
+[ sum::a#2 ]
+[ sum::b#2 ]
+[ sum::return#0 ]
+[ main::$0 ]
+[ sum::return#1 ]
+[ main::$1 ]
+[ sum::return#2 ]
+Allocated zp[1]:2 [ sum::a#2 ]
+Allocated zp[1]:3 [ sum::b#2 ]
+Allocated zp[1]:4 [ sum::return#0 ]
+Allocated zp[1]:5 [ main::$0 ]
+Allocated zp[1]:6 [ sum::return#1 ]
+Allocated zp[1]:7 [ main::$1 ]
+Allocated zp[1]:8 [ sum::return#2 ]
+
+INITIAL ASM
+Target platform is c64basic / MOS6502X
+ // File Comments
+// Test declarations without body
+ // Upstart
+.pc = $801 "Basic"
+:BasicUpstart(__bbegin)
+.pc = $80d "Program"
+ // Global Constants & labels
+ .label SCREEN = $400
+ // @begin
+__bbegin:
+ // [1] phi from @begin to @1 [phi:@begin->@1]
+__b1_from___bbegin:
+ jmp __b1
+ // @1
+__b1:
+ // [2] call main
+ // [4] phi from @1 to main [phi:@1->main]
+main_from___b1:
+ jsr main
+ // [3] phi from @1 to @end [phi:@1->@end]
+__bend_from___b1:
+ jmp __bend
+ // @end
+__bend:
+ // main
+// Definition of main()
+main: {
+ .label __0 = 5
+ .label __1 = 7
+ // [5] call sum
+ // [14] phi from main to sum [phi:main->sum]
+ sum_from_main:
+ // [14] phi (byte) sum::b#2 = (byte) 2 [phi:main->sum#0] -- vbuz1=vbuc1
+ lda #2
+ sta.z sum.b
+ // [14] phi (byte) sum::a#2 = (byte) 'a' [phi:main->sum#1] -- vbuz1=vbuc1
+ lda #'a'
+ sta.z sum.a
+ jsr sum
+ // [6] (byte) sum::return#0 ← (byte) sum::return#2 -- vbuz1=vbuz2
+ lda.z sum.return_2
+ sta.z sum.return
+ jmp __b1
+ // main::@1
+ __b1:
+ // [7] (byte~) main::$0 ← (byte) sum::return#0 -- vbuz1=vbuz2
+ lda.z sum.return
+ sta.z __0
+ // [8] *((const nomodify byte*) SCREEN) ← (byte~) main::$0 -- _deref_pbuc1=vbuz1
+ lda.z __0
+ sta SCREEN
+ // [9] call sum
+ // [14] phi from main::@1 to sum [phi:main::@1->sum]
+ sum_from___b1:
+ // [14] phi (byte) sum::b#2 = (byte) $c [phi:main::@1->sum#0] -- vbuz1=vbuc1
+ lda #$c
+ sta.z sum.b
+ // [14] phi (byte) sum::a#2 = (byte) 'a' [phi:main::@1->sum#1] -- vbuz1=vbuc1
+ lda #'a'
+ sta.z sum.a
+ jsr sum
+ // [10] (byte) sum::return#1 ← (byte) sum::return#2 -- vbuz1=vbuz2
+ lda.z sum.return_2
+ sta.z sum.return_1
+ jmp __b2
+ // main::@2
+ __b2:
+ // [11] (byte~) main::$1 ← (byte) sum::return#1 -- vbuz1=vbuz2
+ lda.z sum.return_1
+ sta.z __1
+ // [12] *((const nomodify byte*) SCREEN+(byte) 1) ← (byte~) main::$1 -- _deref_pbuc1=vbuz1
+ lda.z __1
+ sta SCREEN+1
+ jmp __breturn
+ // main::@return
+ __breturn:
+ // [13] return
+ rts
+}
+ // sum
+// Definition of sum()
+// sum(byte zp(2) a, byte zp(3) b)
+sum: {
+ .label return = 4
+ .label return_1 = 6
+ .label return_2 = 8
+ .label a = 2
+ .label b = 3
+ // [15] (byte) sum::return#2 ← (byte) sum::a#2 + (byte) sum::b#2 -- vbuz1=vbuz2_plus_vbuz3
+ lda.z a
+ clc
+ adc.z b
+ sta.z return_2
+ jmp __breturn
+ // sum::@return
+ __breturn:
+ // [16] return
+ rts
+}
+ // File Data
+
+REGISTER UPLIFT POTENTIAL REGISTERS
+Statement [15] (byte) sum::return#2 ← (byte) sum::a#2 + (byte) sum::b#2 [ sum::return#2 ] ( main:2::sum:5 [ sum::return#2 ] { { sum::return#0 = sum::return#2 } } main:2::sum:9 [ sum::return#2 ] { { sum::return#1 = sum::return#2 } } ) always clobbers reg byte a
+Potential registers zp[1]:2 [ sum::a#2 ] : zp[1]:2 , reg byte a , reg byte x , reg byte y ,
+Potential registers zp[1]:3 [ sum::b#2 ] : zp[1]:3 , reg byte a , reg byte x , reg byte y ,
+Potential registers zp[1]:4 [ sum::return#0 ] : zp[1]:4 , reg byte a , reg byte x , reg byte y ,
+Potential registers zp[1]:5 [ main::$0 ] : zp[1]:5 , reg byte a , reg byte x , reg byte y ,
+Potential registers zp[1]:6 [ sum::return#1 ] : zp[1]:6 , reg byte a , reg byte x , reg byte y ,
+Potential registers zp[1]:7 [ main::$1 ] : zp[1]:7 , reg byte a , reg byte x , reg byte y ,
+Potential registers zp[1]:8 [ sum::return#2 ] : zp[1]:8 , reg byte a , reg byte x , reg byte y ,
+
+REGISTER UPLIFT SCOPES
+Uplift Scope [sum] 101: zp[1]:2 [ sum::a#2 ] 101: zp[1]:3 [ sum::b#2 ] 30.75: zp[1]:8 [ sum::return#2 ] 22: zp[1]:4 [ sum::return#0 ] 22: zp[1]:6 [ sum::return#1 ]
+Uplift Scope [main] 22: zp[1]:5 [ main::$0 ] 22: zp[1]:7 [ main::$1 ]
+Uplift Scope []
+
+Uplifting [sum] best 90 combination reg byte x [ sum::a#2 ] reg byte a [ sum::b#2 ] reg byte a [ sum::return#2 ] reg byte a [ sum::return#0 ] zp[1]:6 [ sum::return#1 ]
+Limited combination testing to 100 combinations of 1024 possible.
+Uplifting [main] best 78 combination reg byte a [ main::$0 ] reg byte a [ main::$1 ]
+Uplifting [] best 78 combination
+Attempting to uplift remaining variables inzp[1]:6 [ sum::return#1 ]
+Uplifting [sum] best 72 combination reg byte a [ sum::return#1 ]
+
+ASSEMBLER BEFORE OPTIMIZATION
+ // File Comments
+// Test declarations without body
+ // Upstart
+.pc = $801 "Basic"
+:BasicUpstart(__bbegin)
+.pc = $80d "Program"
+ // Global Constants & labels
+ .label SCREEN = $400
+ // @begin
+__bbegin:
+ // [1] phi from @begin to @1 [phi:@begin->@1]
+__b1_from___bbegin:
+ jmp __b1
+ // @1
+__b1:
+ // [2] call main
+ // [4] phi from @1 to main [phi:@1->main]
+main_from___b1:
+ jsr main
+ // [3] phi from @1 to @end [phi:@1->@end]
+__bend_from___b1:
+ jmp __bend
+ // @end
+__bend:
+ // main
+// Definition of main()
+main: {
+ // [5] call sum
+ // [14] phi from main to sum [phi:main->sum]
+ sum_from_main:
+ // [14] phi (byte) sum::b#2 = (byte) 2 [phi:main->sum#0] -- vbuaa=vbuc1
+ lda #2
+ // [14] phi (byte) sum::a#2 = (byte) 'a' [phi:main->sum#1] -- vbuxx=vbuc1
+ ldx #'a'
+ jsr sum
+ // [6] (byte) sum::return#0 ← (byte) sum::return#2
+ jmp __b1
+ // main::@1
+ __b1:
+ // [7] (byte~) main::$0 ← (byte) sum::return#0
+ // [8] *((const nomodify byte*) SCREEN) ← (byte~) main::$0 -- _deref_pbuc1=vbuaa
+ sta SCREEN
+ // [9] call sum
+ // [14] phi from main::@1 to sum [phi:main::@1->sum]
+ sum_from___b1:
+ // [14] phi (byte) sum::b#2 = (byte) $c [phi:main::@1->sum#0] -- vbuaa=vbuc1
+ lda #$c
+ // [14] phi (byte) sum::a#2 = (byte) 'a' [phi:main::@1->sum#1] -- vbuxx=vbuc1
+ ldx #'a'
+ jsr sum
+ // [10] (byte) sum::return#1 ← (byte) sum::return#2
+ jmp __b2
+ // main::@2
+ __b2:
+ // [11] (byte~) main::$1 ← (byte) sum::return#1
+ // [12] *((const nomodify byte*) SCREEN+(byte) 1) ← (byte~) main::$1 -- _deref_pbuc1=vbuaa
+ sta SCREEN+1
+ jmp __breturn
+ // main::@return
+ __breturn:
+ // [13] return
+ rts
+}
+ // sum
+// Definition of sum()
+// sum(byte register(X) a, byte register(A) b)
+sum: {
+ // [15] (byte) sum::return#2 ← (byte) sum::a#2 + (byte) sum::b#2 -- vbuaa=vbuxx_plus_vbuaa
+ stx.z $ff
+ clc
+ adc.z $ff
+ jmp __breturn
+ // sum::@return
+ __breturn:
+ // [16] return
+ rts
+}
+ // File Data
+
+ASSEMBLER OPTIMIZATIONS
+Removing instruction jmp __b1
+Removing instruction jmp __bend
+Removing instruction jmp __b1
+Removing instruction jmp __b2
+Removing instruction jmp __breturn
+Removing instruction jmp __breturn
+Succesful ASM optimization Pass5NextJumpElimination
+Removing instruction __b1_from___bbegin:
+Removing instruction __b1:
+Removing instruction main_from___b1:
+Removing instruction __bend_from___b1:
+Succesful ASM optimization Pass5RedundantLabelElimination
+Removing instruction __bend:
+Removing instruction sum_from_main:
+Removing instruction __b1:
+Removing instruction sum_from___b1:
+Removing instruction __b2:
+Removing instruction __breturn:
+Removing instruction __breturn:
+Succesful ASM optimization Pass5UnusedLabelElimination
+Updating BasicUpstart to call main directly
+Removing instruction jsr main
+Succesful ASM optimization Pass5SkipBegin
+Removing instruction __bbegin:
+Succesful ASM optimization Pass5UnusedLabelElimination
+
+FINAL SYMBOL TABLE
+(label) @1
+(label) @begin
+(label) @end
+(const nomodify byte*) SCREEN = (byte*) 1024
+(void()) main()
+(byte~) main::$0 reg byte a 22.0
+(byte~) main::$1 reg byte a 22.0
+(label) main::@1
+(label) main::@2
+(label) main::@return
+(byte()) sum((byte) sum::a , (byte) sum::b)
+(label) sum::@return
+(byte) sum::a
+(byte) sum::a#2 reg byte x 101.0
+(byte) sum::b
+(byte) sum::b#2 reg byte a 101.0
+(byte) sum::return
+(byte) sum::return#0 reg byte a 22.0
+(byte) sum::return#1 reg byte a 22.0
+(byte) sum::return#2 reg byte a 30.75
+
+reg byte x [ sum::a#2 ]
+reg byte a [ sum::b#2 ]
+reg byte a [ sum::return#0 ]
+reg byte a [ main::$0 ]
+reg byte a [ sum::return#1 ]
+reg byte a [ main::$1 ]
+reg byte a [ sum::return#2 ]
+
+
+FINAL ASSEMBLER
+Score: 48
+
+ // File Comments
+// Test declarations without body
+ // Upstart
+.pc = $801 "Basic"
+:BasicUpstart(main)
+.pc = $80d "Program"
+ // Global Constants & labels
+ .label SCREEN = $400
+ // @begin
+ // [1] phi from @begin to @1 [phi:@begin->@1]
+ // @1
+ // [2] call main
+ // [4] phi from @1 to main [phi:@1->main]
+ // [3] phi from @1 to @end [phi:@1->@end]
+ // @end
+ // main
+// Definition of main()
+main: {
+ // sum('a', 2)
+ // [5] call sum
+ // [14] phi from main to sum [phi:main->sum]
+ // [14] phi (byte) sum::b#2 = (byte) 2 [phi:main->sum#0] -- vbuaa=vbuc1
+ lda #2
+ // [14] phi (byte) sum::a#2 = (byte) 'a' [phi:main->sum#1] -- vbuxx=vbuc1
+ ldx #'a'
+ jsr sum
+ // sum('a', 2)
+ // [6] (byte) sum::return#0 ← (byte) sum::return#2
+ // main::@1
+ // [7] (byte~) main::$0 ← (byte) sum::return#0
+ // SCREEN[0] = sum('a', 2)
+ // [8] *((const nomodify byte*) SCREEN) ← (byte~) main::$0 -- _deref_pbuc1=vbuaa
+ sta SCREEN
+ // sum('a', 12)
+ // [9] call sum
+ // [14] phi from main::@1 to sum [phi:main::@1->sum]
+ // [14] phi (byte) sum::b#2 = (byte) $c [phi:main::@1->sum#0] -- vbuaa=vbuc1
+ lda #$c
+ // [14] phi (byte) sum::a#2 = (byte) 'a' [phi:main::@1->sum#1] -- vbuxx=vbuc1
+ ldx #'a'
+ jsr sum
+ // sum('a', 12)
+ // [10] (byte) sum::return#1 ← (byte) sum::return#2
+ // main::@2
+ // [11] (byte~) main::$1 ← (byte) sum::return#1
+ // SCREEN[1] = sum('a', 12)
+ // [12] *((const nomodify byte*) SCREEN+(byte) 1) ← (byte~) main::$1 -- _deref_pbuc1=vbuaa
+ sta SCREEN+1
+ // main::@return
+ // }
+ // [13] return
+ rts
+}
+ // sum
+// Definition of sum()
+// sum(byte register(X) a, byte register(A) b)
+sum: {
+ // a+b
+ // [15] (byte) sum::return#2 ← (byte) sum::a#2 + (byte) sum::b#2 -- vbuaa=vbuxx_plus_vbuaa
+ stx.z $ff
+ clc
+ adc.z $ff
+ // sum::@return
+ // }
+ // [16] return
+ rts
+}
+ // File Data
+
diff --git a/src/test/ref/cstyle-decl-0.sym b/src/test/ref/cstyle-decl-0.sym
new file mode 100644
index 000000000..51f839412
--- /dev/null
+++ b/src/test/ref/cstyle-decl-0.sym
@@ -0,0 +1,28 @@
+(label) @1
+(label) @begin
+(label) @end
+(const nomodify byte*) SCREEN = (byte*) 1024
+(void()) main()
+(byte~) main::$0 reg byte a 22.0
+(byte~) main::$1 reg byte a 22.0
+(label) main::@1
+(label) main::@2
+(label) main::@return
+(byte()) sum((byte) sum::a , (byte) sum::b)
+(label) sum::@return
+(byte) sum::a
+(byte) sum::a#2 reg byte x 101.0
+(byte) sum::b
+(byte) sum::b#2 reg byte a 101.0
+(byte) sum::return
+(byte) sum::return#0 reg byte a 22.0
+(byte) sum::return#1 reg byte a 22.0
+(byte) sum::return#2 reg byte a 30.75
+
+reg byte x [ sum::a#2 ]
+reg byte a [ sum::b#2 ]
+reg byte a [ sum::return#0 ]
+reg byte a [ main::$0 ]
+reg byte a [ sum::return#1 ]
+reg byte a [ main::$1 ]
+reg byte a [ sum::return#2 ]