mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-01-14 09:30:57 +00:00
Merge remote-tracking branch 'origin/far-call-isolated' into far-call-isolated-#508
This commit is contained in:
commit
0393958154
@ -107,11 +107,11 @@ 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";
|
||||
/**
|
||||
* #pragma nobank specifies the scope of the sequent functions to be near. Segments are defined in the linker file.
|
||||
* #pragma nobank Changes the current bank to the default bank.
|
||||
*/
|
||||
public static final String PRAGMA_NOBANK = "nobank";
|
||||
|
||||
|
@ -298,7 +298,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…
x
Reference in New Issue
Block a user