mirror of
https://github.com/nasa/trick.git
synced 2025-04-13 22:23:11 +00:00
ICG handling of \brief in comments differs on Linux and Mac #453
Adjusted regular expression so it will work on the mac. Changed "\w" to "[a-zA-Z0-9]".
This commit is contained in:
parent
9207bd0ab1
commit
70a81acc6c
@ -135,7 +135,7 @@ void FieldDescription::parseComment(std::string comment) {
|
||||
//std::cout << "2. " << comment << std::endl ;
|
||||
|
||||
// remove optional doxygen keyword
|
||||
comment = get_regex_field(comment , "(\\\\\\w+[ \t\n\r]*)?(.*)" , 2) ;
|
||||
comment = get_regex_field(comment , "(\\\\[a-zA-Z0-9]+)?[ \t\n\r]*(.*)" , 2) ;
|
||||
//std::cout << "3. " << comment << std::endl ;
|
||||
|
||||
ret_str = get_regex_field(comment , "@?trick_chkpnt_io[\\({]([^\\)}]+)[\\)}]" , 1) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user