From 49564395a33745d063e45a2a3faba43662972198 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 12 Mar 2023 10:26:10 +0300 Subject: [PATCH] Chore: Un-pub PropertiesParser --- src/properties.v | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/properties.v b/src/properties.v index 3b1ab74..4bd70c6 100644 --- a/src/properties.v +++ b/src/properties.v @@ -10,9 +10,7 @@ enum ParseState { value } -// PropertiesParser is a parser for properties files. -[noinit] -pub struct PropertiesParser { +struct PropertiesParser { // The string we are parsing. raw string mut: @@ -194,9 +192,7 @@ fn (mut p PropertiesParser) loop_inner() { } } -// parse parses the properties file. -// The parsed properties are stored in the properties field. -pub fn (mut p PropertiesParser) parse() { +fn (mut p PropertiesParser) parse() { for !p.is_at_end() { p.loop_inner() }