~oontvoo/cfg-to-pda/unparser

« back to all changes in this revision

Viewing changes to src/main/javacc/CFGGrammar.jj

  • Committer: oontvoo at hotmail
  • Date: 2012-10-18 05:36:28 UTC
  • Revision ID: oontvoo@hotmail.com-20121018053628-28kspo5cpcl62uwp
add bzrignore. clean up

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
options 
30
30
{
31
 
        STATIC = false ;
 
31
    // multiple instances are allowed
 
32
    STATIC = false ;
32
33
}
 
34
 
33
35
PARSER_BEGIN(CFGGrammar)
34
 
        class CFGGrammar
35
 
        {
36
 
                public  static void main( String[] args ) throws ParseException, TokenMgrError 
37
 
                {
38
 
                        CFGGrammar parser = new CFGGrammar( System.in );
39
 
                        parser.Start();
40
 
                }
41
 
        }
 
36
 
 
37
package cfgpda;
 
38
 
 
39
class CFGGrammar
 
40
{
 
41
        public  static void main( String[] args ) throws ParseException, TokenMgrError 
 
42
        {
 
43
                CFGGrammar parser = new CFGGrammar( System.in );
 
44
                parser.Start();
 
45
        }
 
46
}
42
47
PARSER_END(CFGGrammar)
43
48
 
44
49
void Start():