Task #4646
closed
Added by Alexander Kamkin almost 11 years ago.
Updated over 9 years ago.
Assignee:
Andrei Tatarnikov
Published in build:
2.2.10
Description
Если идентификатор является ключевым словом Java (и не является ключевым словом nML), не нужно ругаться; следует при трансляции заменить его на что-то.
Возможное решение - добавлять префикс или суффикс, указывающий на тип идентификатора, например, byte
-> byte_t
, byte_t
-> byte_t_t
.
- Due date set to 05/31/2014
- Target version set to 2.1
- Subject changed from [translator] Ключевые слова Java to Handling Java keywords
- Category set to 40
- Target version changed from 2.1 to 2.2
- Status changed from New to Open
- % Done changed from 0 to 50
r4361 - the "__" suffix is added to all reserved keywords. Later, it will be possible to provide an alternative for such words (where they are defined as reserved).
- Status changed from Open to Resolved
- % Done changed from 50 to 100
r4418 - "__" suffix + warning. Considered resolved.
- Status changed from Resolved to Closed
- Published in build set to 2.2.10
Also available in: Atom
PDF