use const
This commit is contained in:
parent
c8ff96fe8f
commit
c329887bfe
|
@ -977,7 +977,7 @@ static void compileExpression(Token *&tok, AST_state& state)
|
||||||
compileComma(tok, state);
|
compileComma(tok, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isLambdaCaptureList(Token * tok)
|
static bool isLambdaCaptureList(const Token * tok)
|
||||||
{
|
{
|
||||||
// a lambda expression '[x](y){}' is compiled as:
|
// a lambda expression '[x](y){}' is compiled as:
|
||||||
// [
|
// [
|
||||||
|
|
Loading…
Reference in New Issue