From 96d928e4384bf0f9c395dee8d02a4e2e1aa4592f Mon Sep 17 00:00:00 2001
From: jk <ju.am.kuhn@pm.me>
Date: Thu, 13 Mar 2025 10:26:58 +0100
Subject: [PATCH] fix: multiline comments

---
 .../parser/declarationparser/declaration_lexer.py   |  6 ++----
 .../parser/declarationparser/declaration_parser.py  |  6 ++----
 .../parser/declarationparser/plyparser.py           | 13 ++++++-------
 3 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/uppaal2jetracer/parser/declarationparser/declaration_lexer.py b/uppaal2jetracer/parser/declarationparser/declaration_lexer.py
index 3a0743e..06f2444 100644
--- a/uppaal2jetracer/parser/declarationparser/declaration_lexer.py
+++ b/uppaal2jetracer/parser/declarationparser/declaration_lexer.py
@@ -10,12 +10,10 @@ Based on the c_lexer.py from the pycparser project by Eli Bendersky (https://eli
 under the BSD license.
 
 Classes:
-    * DeclarationLexer: Implements a custom lexer for UPPAAL declarations with
-      methods for input handling, token generation, and error handling.
+    * DeclarationLexer: Implements a custom lexer for UPPAAL declarations with methods for input handling, token generation, and error handling.
 
 Key Features:
-    * Recognizes reserved keywords, custom identifiers, constants, and various
-      operators.
+    * Recognizes reserved keywords, custom identifiers, constants, and various operators.
     * Provides hooks for handling specific events like opening and closing braces.
     * Offers mechanisms to handle typographical lookups for typedef names.
 
diff --git a/uppaal2jetracer/parser/declarationparser/declaration_parser.py b/uppaal2jetracer/parser/declarationparser/declaration_parser.py
index e0dfd55..34485a0 100644
--- a/uppaal2jetracer/parser/declarationparser/declaration_parser.py
+++ b/uppaal2jetracer/parser/declarationparser/declaration_parser.py
@@ -12,12 +12,10 @@ Classes:
     * `SingleStatementParser`: Parser for single statements with relaxed rules on typing.
 
 Key Features:
-    * Manages scope information with a stack-based system for accurate type
-    and identifier resolution.
+    * Manages scope information with a stack-based system for accurate type and identifier resolution.
     * Supports lexer and parser customization, as well as optimization for performance.
     * Includes utility methods for handling specific parsing scenarios, such as typedef management.
-    * Provides detailed debugging capabilities, such as generating lexer and parser tables
-    and debug outputs.
+    * Provides detailed debugging capabilities, such as generating lexer and parser tables and debug outputs.
 """
 from uppaal2jetracer.declarations import declarations_ast
 from uppaal2jetracer.parser.declarationparser.ply import yacc
diff --git a/uppaal2jetracer/parser/declarationparser/plyparser.py b/uppaal2jetracer/parser/declarationparser/plyparser.py
index 35f6822..c680844 100644
--- a/uppaal2jetracer/parser/declarationparser/plyparser.py
+++ b/uppaal2jetracer/parser/declarationparser/plyparser.py
@@ -111,14 +111,13 @@ class PLYParser:
 def parameterized(*params):
     """
     Decorator to create parameterized rules.
-
-    Parameterized rule methods must be named starting with "p_" and contain
-    "xxx", and their docstrings may contain "xxx" and "yyy". These will be
-    replaced by the given parameter tuples. For example, "p_xxx_rule()" with
-    docstring "xxx_rule  : yyy" when decorated with
-    "@parameterized(("id", "ID"))" produces "p_id_rule()" with the docstring
-    "id_rule  : ID". Using multiple tuples produces multiple rules.
     """
+    # Parameterized rule methods must be named starting with "p_" and contain
+    # "xxx", and their docstrings may contain "xxx" and "yyy". These will be
+    # replaced by the given parameter tuples. For example, "p_xxx_rule()" with
+    # docstring "xxx_rule  : yyy" when decorated with
+    # "@parameterized(("id", "ID"))" produces "p_id_rule()" with the docstring
+    # "id_rule  : ID". Using multiple tuples produces multiple rules.
 
     def decorate(rule_func):
         """
-- 
GitLab