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

Also available in: Atom PDF