Skip to content

Commit 6e232db

Browse files
committed
Make sure comments do not break the import (will deal with them later)
1 parent 92d46e3 commit 6e232db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/FAST-Python-Tools/TSFASTPythonImporter.class.st

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ TSFASTPythonImporter >> visitCollection: aTSNode [
9797
^ self createEntityForNode: aTSNode
9898
]
9999

100+
{ #category : 'visiting' }
101+
TSFASTPythonImporter >> visitComment: aTSNode [
102+
103+
self flag: #todo. "Manage to put the right trait on entities containing me and change the block."
104+
^ self createEntityForNode: aTSNode parentManagementBlock: [ :entity | self topFastEntity addGenericChildren: entity ]
105+
]
106+
100107
{ #category : 'visiting' }
101108
TSFASTPythonImporter >> visitComparisonOperator: aTSNode [
102109

0 commit comments

Comments
 (0)