projects
/
sv2nmigen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add working preprocessor (creates docstrings)
[sv2nmigen.git]
/
absyn.py
diff --git
a/absyn.py
b/absyn.py
index 6ccbb0529944f48fcc57d1578f573bfcd8cffd10..7d54d6e3e76092384e6c00ff19e03f6cb0b2ddc3 100644
(file)
--- a/
absyn.py
+++ b/
absyn.py
@@
-148,9
+148,10
@@
class Absyn:
return clsdecl
def appendComments(self,data):
return clsdecl
def appendComments(self,data):
- lines = data.split("\n")
- for line in lines:
- self.printpy("#"+line)
+ self.outputfile.write(data)
+ #lines = data.split("\n")
+ #for line in lines:
+ # self.printpy("#"+line)
# combinatorical assign
def cont_assign_1(self,p):
# combinatorical assign
def cont_assign_1(self,p):