ProgQuery is a system to extract useful syntactic and semantic information from source code programs and store it in a graph database for posterior querying.
MIT License
15
stars
4
forks
source link
Some statements in CFGVisitor inherit the label from LabeledStatements #18
Some statements in CFGVisitor inherit the label from its parent when it is a LabeledStatement and when they have no label.
This causes NullPointerException. First, the child statement removes the label information from the label map at the end of its visit. Then, the actually LabeledStatement parent tried to retrieve its label information from the map, with null as result.
Some statements in CFGVisitor inherit the label from its parent when it is a LabeledStatement and when they have no label. This causes NullPointerException. First, the child statement removes the label information from the label map at the end of its visit. Then, the actually LabeledStatement parent tried to retrieve its label information from the map, with null as result.