Example #1
0
def p_primary_expression_4(p):
    'primary_expression : SCONST'
    p[0] = ast.StringLitExp(p[1], p.lineno(1) + __start_line_no - 1)
Example #2
0
def p_primary_expression_4(p):
    "primary_expression : SCONST"
    p[0] = ast.StringLitExp(p[1], getLineNumber(p.lineno(1)))
Example #3
0
def p_primary_expression_4(p):
    "primary_expression : SCONST"
    p[0] = ast.StringLitExp(p[1])
Example #4
0
def p_primary_expression_4(p):
    "primary_expression : SCONST_D"
    p[0] = ast.StringLitExp(p[1], line_no=str(p.lineno(1) + __start_line_no - 1))