From 162fb7f1e5019e24fe7a50935d894b44809347dd Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Mon, 4 Nov 2019 08:18:28 +0100 Subject: [PATCH] Working on catching all declared constants in parse 0. --- .../Pass0GenerateStatementSequence.java | 2 ++ .../dk/camelot64/kickc/test/TestPrograms.java | 3 ++- src/test/kc/function-pointer-noarg-call-5.kc | 21 +++++++++---------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java index 595a3a3c9..c129e7a8e 100644 --- a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java +++ b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java @@ -2018,6 +2018,8 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor