aboutsummaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
Diffstat (limited to 'parser')
-rw-r--r--parser/errors.go4
-rw-r--r--parser/grammar.peg4
2 files changed, 4 insertions, 4 deletions
diff --git a/parser/errors.go b/parser/errors.go
index b1f839e..18c03d4 100644
--- a/parser/errors.go
+++ b/parser/errors.go
@@ -1,5 +1,6 @@
// Package parser parses conf language.
-//
+package parser
+
// This file is part of conf library.
// Copyright (C) 2026 Alexander NeonXP Kiryukhin <i@neonxp.ru>
//
@@ -15,7 +16,6 @@
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
-package parser
import (
"bytes"
diff --git a/parser/grammar.peg b/parser/grammar.peg
index 760257f..3c1774d 100644
--- a/parser/grammar.peg
+++ b/parser/grammar.peg
@@ -1,6 +1,7 @@
{
// Package parser parses conf language.
- //
+ package parser
+
// This file is part of conf library.
// Copyright (C) 2026 Alexander NeonXP Kiryukhin <i@neonxp.ru>
//
@@ -16,7 +17,6 @@
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
- package parser
import (
"strconv"