1 --------------------------------------------------------------------------------
2 -- Copyright (c) 2006-2013 Fabien Fleutot and others.
4 -- All rights reserved.
6 -- This program and the accompanying materials are made available
7 -- under the terms of the Eclipse Public License v1.0 which
8 -- accompanies this distribution, and is available at
9 -- http://www.eclipse.org/legal/epl-v10.html
11 -- This program and the accompanying materials are also made available
12 -- under the terms of the MIT public license which accompanies this
13 -- distribution, and is available at http://www.lua.org/license.html
16 -- Fabien Fleutot - API and implementation
18 --------------------------------------------------------------------------------
20 -- Shared common parser table. It will be filled by parser.init(),
21 -- and every other module will be able to call its elements at runtime.
23 -- If the table was directly created in parser.init, a circular
24 -- dependency would be created: parser.init depends on other modules to fill the table,
25 -- so other modules can't simultaneously depend on it.