mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
comment behaviour of pbcwhere in preparation for its use
in more places. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -664,7 +664,7 @@ static yyconst flex_int16_t yy_chk[553] =
|
||||
#include "ael/ael.tab.h"
|
||||
#include "asterisk/ael_structs.h"
|
||||
|
||||
static char pbcstack[400];
|
||||
static char pbcstack[400]; /* XXX missing size checks */
|
||||
static int pbcpos = 0;
|
||||
|
||||
static int parencount = 0;
|
||||
@@ -680,7 +680,7 @@ void ael_yyset_column (int column_no , yyscan_t yyscanner);
|
||||
int ael_yyparse (struct parse_io *);
|
||||
static void pbcpush(char x);
|
||||
static int pbcpop(char x);
|
||||
static void pbcwhere(char *text, int *line, int *col );
|
||||
static void pbcwhere(const char *text, int *line, int *col );
|
||||
|
||||
struct stackelement {
|
||||
char *fname;
|
||||
@@ -2914,7 +2914,10 @@ static int c_prevword(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void pbcwhere(char *text, int *line, int *col )
|
||||
/* compute the total number of lines and columns in the text
|
||||
* passed as argument.
|
||||
*/
|
||||
static void pbcwhere(const char *text, int *line, int *col )
|
||||
{
|
||||
int loc_line = 0;
|
||||
int loc_col = 0;
|
||||
|
Reference in New Issue
Block a user