Mercurial > hg > octave-lyh
diff src/lex.l @ 4612:d44675070f1a
[project @ 2003-11-14 19:49:56 by jwe]
author | jwe |
---|---|
date | Fri, 14 Nov 2003 19:50:38 +0000 |
parents | 22ca4cc02525 |
children | d1786f2d8a3c |
line wrap: on
line diff
--- a/src/lex.l +++ b/src/lex.l @@ -171,7 +171,7 @@ static std::string strip_trailing_whitespace (char *s); static void handle_number (void); static int handle_string (char delim, int text_style = 0); -static char handle_close_bracket (bool spc_gobbled, char bracket_type); +static int handle_close_bracket (bool spc_gobbled, int bracket_type); static int handle_identifier (void); static bool have_continuation (bool trailing_comments_ok = true); static bool have_ellipsis_continuation (bool trailing_comments_ok = true); @@ -2226,10 +2226,10 @@ return retval; } -static char -handle_close_bracket (bool spc_gobbled, char bracket_type) +static int +handle_close_bracket (bool spc_gobbled, int bracket_type) { - char retval = bracket_type; + int retval = bracket_type; if (! nesting_level.none ()) {