question of compiler code
=?gb2312?B?ztKyu9aqtcC=?=
shangzhongyong at hotmail.com
Tue Sep 1 01:42:49 PDT 2009
I am sorry, I do not speak English, but there are problems on the compiler.
Hope to get help,Thanks.
(source code version:openjdk-7-ea-src-b70-20_aug_2009)
1,
--------------------------------------source begin
package com.sun.tools.javac.util;
public interface LayoutCharacters
/** Tabulator character.
*/
final static byte TAB = 0x8;
---------------------------------------source end
---------------------------------------question begin
TAB = 0x8;???
(ASCII-TAB==0x9??)
---------------------------------------question end
2,
--------------------------------------source begin
package com.sun.tools.javac.parser;
private void scanOperator() {
while (true) {
putChar(ch);
Name newname = names.fromChars(sbuf, 0, sp);
if (keywords.key(newname) == IDENTIFIER) {
sp--;
break;
}
---------------------------------------source end
---------------------------------------question begin
keywords.key(newname) == IDENTIFIER;
Special Operator--> IDENTIFIER ?
---------------------------------------question end
mail end
Thanks
_________________________________________________________________
Messenger°²È«±£»¤ÖÐÐÄ£¬Ãâ·ÑÐÞ¸´ÏµÍ³Â©¶´£¬±£»¤Messenger°²È«£¡
http://im.live.cn/safe/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20090901/50df7149/attachment.html
More information about the compiler-dev
mailing list