Project

General

Profile

Actions

Bug #4827

closed

[translator] Error if a mode's name starts with a lower-case letter

Added by Alexander Kamkin over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
04/03/2014
Due date:
04/30/2014
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
140417

Description

If an access mode's name starts with a lower-case letter, the following failure occur:

build:
    [javac] Compiling 11 source files to C:\SVN\microtesk\microtesk\dist\gen\bin
    [javac] C:\SVN\microtesk\microtesk\dist\gen\src\java\ru\ispras\microtesk\model\mips\mode\IMM16.java:27: error: class imm16 is public, should be declared in a file named imm16.java
    [javac] public final class imm16 extends AddressingMode
    [javac]              ^
    [javac] C:\SVN\microtesk\microtesk\dist\gen\src\java\ru\ispras\microtesk\model\mips\mode\IMM26.java:27: error: class imm26 is public, should be declared in a file named imm26.java
    [javac] public final class imm26 extends AddressingMode
    [javac]              ^
    [javac] 2 errors
Actions #1

Updated by Alexander Kamkin over 10 years ago

Раньше имена режимов начинались с большой буквы. Изменил на буквы на маленькие. Файлы не были удалены (Windows). В них записалась новая информация.

При пересборке нужно удалять старые файлы.

Actions #2

Updated by Andrei Tatarnikov over 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed in r1875.

Actions #3

Updated by Alexander Kamkin over 10 years ago

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

Also available in: Atom PDF