Project

General

Profile

Actions

Task #4646

closed

Handling Java keywords

Added by Alexander Kamkin almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
12/24/2013
Due date:
05/31/2014
% Done:

100%

Estimated time:
Detected in build:
svn
Published in build:
2.2.10

Description

Если идентификатор является ключевым словом Java (и не является ключевым словом nML), не нужно ругаться; следует при трансляции заменить его на что-то.

Возможное решение - добавлять префикс или суффикс, указывающий на тип идентификатора, например, byte -> byte_t, byte_t -> byte_t_t.

Actions #1

Updated by Alexander Kamkin over 10 years ago

  • Due date set to 05/31/2014
  • Target version set to 2.1
Actions #2

Updated by Alexander Kamkin over 9 years ago

  • Subject changed from [translator] Ключевые слова Java to Handling Java keywords
  • Category set to 40
Actions #3

Updated by Alexander Kamkin over 9 years ago

  • Target version changed from 2.1 to 2.2
Actions #4

Updated by Andrei Tatarnikov over 9 years ago

  • 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).

Actions #5

Updated by Andrei Tatarnikov over 9 years ago

  • Status changed from Open to Resolved
  • % Done changed from 50 to 100

r4418 - "__" suffix + warning. Considered resolved.

Actions #6

Updated by Andrei Tatarnikov over 9 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 2.2.10
Actions

Also available in: Atom PDF