1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2015 Ericsson Telecom AB
3 // All rights reserved. This program and the accompanying materials
4 // are made available under the terms of the Eclipse Public License v1.0
5 // which accompanies this distribution, and is available at
6 // http://www.eclipse.org/legal/epl-v10.html
7 ///////////////////////////////////////////////////////////////////////////////
10 #include "../common/memory.h"
14 #include "Iterator.hh"
17 extern int bison_parse_file(const char* filename
);
23 fprintf(stderr
, "Usage: %s bison_filename\n", argv0
);
26 int main(int argc
, char *argv
[])
35 char *infilename
=argv
[1];
36 grammar
=new Grammar();
38 bison_parse_file(infilename
);
40 grammar
->compute_all();
45 check_mem_leak(argv0
);
This page took 0.040345 seconds and 5 git commands to generate.