add a simple C-expression grammar rule
This commit is contained in:
parent
1d612cd543
commit
1c20826e62
@ -1,2 +1,6 @@
|
||||
|
||||
from lexrules import tokens
|
||||
|
||||
def p_c_expr(p):
|
||||
'c_expr : C LPAREN STRING RPAREN SEMICOLON'
|
||||
p[0] = 'success'
|
||||
|
Loading…
x
Reference in New Issue
Block a user