lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
authorTom Tromey <tromey@cygnus.com>
Fri, 3 Nov 2000 20:27:07 +0000 (20:27 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 3 Nov 2000 20:27:07 +0000 (20:27 +0000)
commit747800ee8a9782cea34d002fe6a53439da75b25c
tree3ec9a05402bdb242bd150aacc46596d394cd2d1d
parent35e9340fc9994dbd2025f8770593fa0136e33740
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
gcc/java/ChangeLog
gcc/java/jv-scan.c
gcc/java/lex.c
gcc/java/lex.h