From 329674983985c8643bc475d87c8fcf1577079d2a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 24 Mar 2021 17:06:29 +0000 Subject: [PATCH] add comment skipping in pagereader.py --- src/soc/decoder/pseudo/pagereader.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/soc/decoder/pseudo/pagereader.py b/src/soc/decoder/pseudo/pagereader.py index a5d05cc5..8e9b0be3 100644 --- a/src/soc/decoder/pseudo/pagereader.py +++ b/src/soc/decoder/pseudo/pagereader.py @@ -91,6 +91,14 @@ class ISA: rewrite.append(l) while lines: print(l) + # look for HTML comment, if starting, skip line. + # XXX this is braindead! it doesn't look for the end + # so please put ending of comments on one line: + # + # + if l.startswith('