source: trunk/yao/share/antlr-2.7.7/examples/python/inherit.tinyc/inherit.g @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

File size: 336 bytes
Line 
1// This file is part of PyANTLR. See LICENSE.txt for license
2// details..........Copyright (C) Wolfgang Haefelinger, 2004.
3//
4// $Id$
5
6options {
7        mangleLiteralPrefix = "TK_";
8    language="Python";
9}
10
11class inherit_p extends tinyc_p;
12
13 
14// add initializers to variables
15variable
16{
17    pass
18}
19        :       type declarator (ASSIGN aexpr)? SEMI
20        ;
21
Note: See TracBrowser for help on using the repository browser.