Lines Matching refs:block
1296 for block in self.blocks:
1297 if block.isDirective():
1299 if block.directive == 'define':
1300 macro_name = block.define_id
1306 blocksInProgress.append(block)
1309 blocksOfDirectives.append(block)
1312 numTokens = len(block.tokens)
1316 token_id = block.tokens[i].id
1320 if (i >= 2 and block.tokens[i-2].id == 'extern' and
1321 block.tokens[i-1].id == '"C"'):
1332 if block.tokens[i].id == ';':
1348 block.tokens[i-1].kind == TokenKind.IDENTIFIER and
1349 block.tokens[i-1].id in macros):
1354 blocksToKeep.append(Block(block.tokens[lastTerminatorIndex:i-1]))
1362 if block.tokens[i].id == ')':
1366 elif block.tokens[i].id == '(':
1381 elif block.tokens[i].kind == TokenKind.IDENTIFIER:
1387 blocksInProgress.append(Block(block.tokens[lastTerminatorIndex:i+1]))
1400 blocksInProgress.append(Block(block.tokens[lastTerminatorIndex:numTokens]))