From 6df2192b276de368f5f110768afaeca0957a44d0 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Tue, 29 Jun 2021 17:33:31 +0000 Subject: [PATCH] [asmxygen] Remove unuseful method git-svn-id: svn://kolibrios.org@8973 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/asmxygen.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/trunk/asmxygen.py b/kernel/trunk/asmxygen.py index 06974f1a7f..27fd5b3646 100644 --- a/kernel/trunk/asmxygen.py +++ b/kernel/trunk/asmxygen.py @@ -6,7 +6,6 @@ import sys """ TODO: - Optimize name and var_type checking - Translate dict in AsmReaderReadingComments into just a set of fields - - Remove get_comment method from AsmReaderReadingComments - Check if we should return handled_files from handle_file """ @@ -1315,9 +1314,6 @@ class AsmReaderReadingComments(AsmReaderRecognizingStrings): # Set new status for this line according to the first character in the line self.update_status() - def get_comment(self): - return self.comment - class AsmReaderFetchingIdentifiers(AsmReaderReadingComments): def __init__(self, file): super().__init__(file) @@ -1773,7 +1769,7 @@ def parse_after_proc(r): # Get to the end of the line and get a comment from the reader while r.curr() != '': r.step() - comment = r.get_comment() + comment = r.comment # Build the element return AsmFunction(r.location(), name, comment, calling_convention, args, used_regs)