view python/ppci/c3/grammar.txt @ 389:2ec730e45ea1

Added check for recursive struct
author Windel Bouwman
date Fri, 16 May 2014 12:29:31 +0200
parents 5477e499b039
children
line wrap: on
line source



stmt: if_stmt | while_stmt | for_stmt | assign_stmt | compound_stmt

compound_stmt: '{' stmt ';' stmt ... '}'
if_stmt: 'if' '(' cond ')' stmt
assign_stmt: lhs '=' expr

cond:

expr: