mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-27 09:31:18 +00:00
Apply 2 suggestion(s) to 2 file(s)
This commit is contained in:
parent
8b7beac0c1
commit
e7d717e915
@ -107,7 +107,7 @@ public class CParser {
|
||||
*/
|
||||
public static final String PRAGMA_RESOURCE = "resource";
|
||||
/**
|
||||
* #pragma bank(...) specifies the scope of the sequent functions to be located in a bank using a specific banking area.
|
||||
* #pragma bank(...) changes the current bank. Functionsand variables will be placed in the specified bank.
|
||||
*/
|
||||
public static final String PRAGMA_BANK = "bank";
|
||||
/**
|
||||
|
@ -299,7 +299,7 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor<Objec
|
||||
try {
|
||||
final int size = ctx.getChildCount();
|
||||
if(size==7) {
|
||||
final String pragmaBankArea = pragmaParamBankArea(ctx.pragmaParam(0));
|
||||
final String pragmaBankArea = pragmaParamName(ctx.pragmaParam(0));
|
||||
final Number pragmaBank = pragmaParamNumber(ctx.pragmaParam(1));
|
||||
this.currentBank = new Bank(pragmaBankArea, pragmaBank.longValue());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user