aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-11-03 20:27:07 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-11-03 20:27:07 +0000
commit747800ee8a9782cea34d002fe6a53439da75b25c (patch)
tree3ec9a05402bdb242bd150aacc46596d394cd2d1d /gcc/errors.c
parent35e9340fc9994dbd2025f8770593fa0136e33740 (diff)
downloadgcc-747800ee8a9782cea34d002fe6a53439da75b25c.zip
gcc-747800ee8a9782cea34d002fe6a53439da75b25c.tar.gz
gcc-747800ee8a9782cea34d002fe6a53439da75b25c.tar.bz2
lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
* lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro. (JAVA_ID_CHAR_P): Also try java_ignorable_control_p. * lex.c (java_read_unicode): Removed `term_context' argument. Recognize any number of `u' in `\u'. (java_read_unicode_collapsing_terminators): New function. (java_get_unicode): Use it. (java_lineterminator): Removed. (yylex): Produce error if character literal is newline or single quote. Return if eof found in middle of `//' comment. EOF in `//' comment is only an error if pedantic. (java_ignorable_control_p): New function. (java_parse_end_comment): Return if eof found in middle of comment. Include flags.h. * jv-scan.c (pedantic): New global. From-SVN: r37232
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions