File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ IASTToFamixVisitorTest >> testComment [
202
202
programFile body: { IASTMainProgram new
203
203
entityName: ' main' ;
204
204
body: { IASTComment new
205
- text: ' a normal comment' ;
205
+ text: ' a normal comment' ;
206
206
yourself . };
207
207
yourself }.
208
208
@@ -213,7 +213,7 @@ IASTToFamixVisitorTest >> testComment [
213
213
214
214
comment := entity programUnits first comments first.
215
215
self assert: comment class equals: FamixF77Comment .
216
- self assert: comment content equals: ' a normal comment' .
216
+ self assert: comment sourceText equals: ' a normal comment' .
217
217
self deny: comment isEsope.
218
218
219
219
self assert: comment commentedEntity equals: entity programUnits first.
Original file line number Diff line number Diff line change @@ -114,9 +114,8 @@ IASTToFamixFortranVisitor >> visitIASTBlockData: aBlockData [
114
114
IASTToFamixFortranVisitor >> visitIASTComment: aComment [
115
115
116
116
^ (self newEntity: FamixF77Comment )
117
- content: aComment text ;
118
117
commentedEntity: stack top ;
119
- sourceAnchor: (self visitIndexedFileAnchor : aComment sourceAnchor ) ;
118
+ sourceAnchor: (FamixF77SourceTextAnchor new source : aComment text ) ;
120
119
isEsope: aComment isEsope ;
121
120
yourself
122
121
]
You can’t perform that action at this time.
0 commit comments