Browse Source

fix parsing of relative branch paths

pull/923/head 2.32.4
Antonio SJ Musumeci 4 years ago
parent
commit
ed0c1db3a8
  1. 4
      src/branch.cpp

4
src/branch.cpp

@ -119,7 +119,9 @@ namespace l
{ {
uint64_t offset; uint64_t offset;
offset = s_.find_first_of('/');
offset = s_.find_first_not_of("+<>-=");
if(offset > 1)
offset = 2;
*instr_ = s_.substr(0,offset); *instr_ = s_.substr(0,offset);
if(offset != std::string::npos) if(offset != std::string::npos)
*values_ = s_.substr(offset); *values_ = s_.substr(offset);

Loading…
Cancel
Save