Actions
Bug #74
openIncorrect #include parsing
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Description
Fails to properly handle #include clauses.
This should not create problem:
//#include "someInstance.ins"
But it creates the error:
data/....../.......dom:.. Error : Include has wrong format
/home/rlalleme/hatp/hatponboard-lib/parsing/HATPPreprocessor.hh
in bool includeFile(const std::string& includeName)
does not parse correctly ... it should detect the include only when:
- not in the commented part of a line
- not in a string "...."
Moreover it should work even if it is in the middle of a line:
preconditions{ #include "preconditionsInAnotherFile.part" }
No data to display
Actions