Add some assertions around use of Tell
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c0919870f8
commit
3d6b068b8c
2 changed files with 2 additions and 0 deletions
|
|
@ -583,6 +583,7 @@ static List *find_args(String *s, int ismacro, String *macro_name) {
|
|||
c = Getc(s);
|
||||
if (c != '(') {
|
||||
/* Not a macro, bail out now! */
|
||||
assert(pos != -1);
|
||||
Seek(s, pos, SEEK_SET);
|
||||
Delete(args);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue