示例#1
0
文件: parser.py 项目: sola92/slimit
 def p_continue_statement_2(self, p):
     """continue_statement : CONTINUE identifier SEMI
                           | CONTINUE identifier auto_semi
     """
     p[0] = ast.Continue(p[2],lineno=p.lineno(2))
示例#2
0
文件: parser.py 项目: sola92/slimit
 def p_continue_statement_1(self, p):
     """continue_statement : CONTINUE SEMI
                           | CONTINUE auto_semi
     """
     p[0] = ast.Continue(lineno=p.lineno(0))