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