From 8ff73fe0f433749d969b594d55e6220b8a7b99d4 Mon Sep 17 00:00:00 2001 From: arookas Date: Thu, 4 Feb 2016 16:35:32 -0500 Subject: [PATCH] Made PushLoop protected --- ssc/ast/nodes.flow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssc/ast/nodes.flow.cs b/ssc/ast/nodes.flow.cs index d6f655d..505af05 100644 --- a/ssc/ast/nodes.flow.cs +++ b/ssc/ast/nodes.flow.cs @@ -31,14 +31,14 @@ namespace arookas { protected sunLoopNode(sunSourceLocation location) : base(location) { } - public sunLoop PushLoop(sunContext context) { + protected sunLoop PushLoop(sunContext context) { var name = context.PopNameLabel(); if (name == null) { return context.Loops.Push(); } return context.Loops.Push(name.Label.Value); } - public sunLoop PushLoop(sunContext context, sunLoopFlags flags) { + protected sunLoop PushLoop(sunContext context, sunLoopFlags flags) { var name = context.PopNameLabel(); if (name == null) { return context.Loops.Push(flags);