1 /******************************************************************************
2 * Copyright (c) 2000-2016 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
12 ******************************************************************************/
15 #include "../common/memory.h"
19 #include "Iterator.hh"
22 extern int bison_parse_file(const char* filename
);
28 fprintf(stderr
, "Usage: %s bison_filename\n", argv0
);
31 int main(int argc
, char *argv
[])
40 char *infilename
=argv
[1];
41 grammar
=new Grammar();
43 bison_parse_file(infilename
);
45 grammar
->compute_all();
50 check_mem_leak(argv0
);
This page took 0.030844 seconds and 5 git commands to generate.