mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 22:41:59 -04:00
added an error message if there are to many test case lines
This commit is contained in:
parent
c42eb7b593
commit
f88a70bc47
@ -87,6 +87,8 @@ public class Parser {
|
||||
tok.consume();
|
||||
expect(Tokenizer.Token.OPEN);
|
||||
int count = (int) parseInt();
|
||||
if (count > 1 << 16)
|
||||
throw new ParserException(Lang.get("err_toManyTestEntries"));
|
||||
expect(Tokenizer.Token.CLOSE);
|
||||
parseForLine(count);
|
||||
} else {
|
||||
|
@ -469,6 +469,7 @@ Es sind nur {1} Variablen erlaubt, es wurden jedoch {2} gefunden.</string>
|
||||
<string name="err_recursiveNestingAt_N0">Die Schaltung {0} bindet sich selbst ein!</string>
|
||||
<string name="err_minimizationFailed">Das Ergebnis der Minimierung ist nicht korrekt!
|
||||
Sind evtl. die Namen der Variablen nicht eindeutig?</string>
|
||||
<string name="err_toManyTestEntries">Zu viele Einträge in der Testdatenmatrix.</string>
|
||||
|
||||
<string name="key_AddrBits">Adress-Bits</string>
|
||||
<string name="key_AddrBits_tt">Anzahl der Adress-Bits die verwendet werden.</string>
|
||||
|
@ -456,6 +456,7 @@ allowed are {1} variables but {2} are found.</string>
|
||||
<string name="err_recursiveNestingAt_N0">The circuit {0} imports itself!</string>
|
||||
<string name="err_minimizationFailed">The result of the minimization is not correct!
|
||||
The names of the variables may not be unique.</string>
|
||||
<string name="err_toManyTestEntries">To many entries in the test data matrix.</string>
|
||||
|
||||
<string name="key_AddrBits">Address Bits</string>
|
||||
<string name="key_AddrBits_tt">Number of address bits used.</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user