Error in parser @-macro is fixed: macro in end of line are ignored before this fix. Thanks Max Vasilyev 2:5057/77
This commit is contained in:
parent
d6cc923213
commit
f842f826fb
@ -10,6 +10,9 @@ _____________________________________________________________________________
|
||||
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
|
||||
_____________________________________________________________________________
|
||||
|
||||
! ˆá¯à ¢«¥ ®è¨¡ª ®¡à ¡®âª¨ @-¬ ªà®á®¢: à ¥¥ ¬ ªà®á ¢ ª®æ¥ áâப¨ ¥
|
||||
®¡à ¡ âë¢ «áï.
|
||||
|
||||
! …᫨ ¥â ¨ ®¤®£® URLHANDLER ¨ ¢ë§ë¢ ¥âáï READpeekURLs, Golded+ ⥯¥àì ¥
|
||||
¯ ¤ ¥â á segmentation fault.
|
||||
|
||||
|
@ -10,6 +10,9 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
! Error in parser @-macro is fixed: macro in end of line are ignored
|
||||
before this fix.
|
||||
|
||||
! If not defined any URLHANDLER and key "READpeekURLs" is pressed,
|
||||
Golded+ does not trap now (segmentation fault fixed).
|
||||
|
||||
|
@ -50,7 +50,7 @@ static bool tokenxchg(std::string &input, std::string::iterator &pos,
|
||||
size_t toklen = strlen(tok);
|
||||
const char* inp_str_tok=it2str(input, pos);
|
||||
|
||||
if ( (strnieql(inp_str_tok, tok, toklen)) && (isspace(inp_str_tok[toklen]) || ispunct(inp_str_tok[toklen])) )
|
||||
if ( (strnieql(inp_str_tok, tok, toklen)) && (isspace(inp_str_tok[toklen]) || ispunct(inp_str_tok[toklen]) || inp_str_tok[toklen]=='\0') )
|
||||
{
|
||||
std::string str = src;
|
||||
std::string::iterator tokend = pos+toklen;
|
||||
|
Reference in New Issue
Block a user