/usr/share/pyshared/glpk/parsetab.py is in python-glpk 0.4.52-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # parsetab.py
# This file is automatically generated. Do not edit.
_lr_method = 'LALR'
_lr_signature = '\xf2,\xacM\x91,\x8de~=\xcfh\x86e\x97b'
_lr_action_items = {'RBRACK':([13,14,15,17,19,20,22,23,24,],[-15,-16,-13,-14,-9,23,-10,-12,-11,]),'PROMPT':([0,1,2,4,6,13,14,15,16,17,18,19,22,23,24,],[-2,3,-1,-3,-4,-15,-16,-13,-8,-14,-7,-9,-10,-12,-11,]),'STRING':([3,8,9,11,12,13,14,15,17,18,19,20,21,22,23,24,],[7,13,13,13,13,-15,-16,-13,-14,13,-9,13,13,-10,-12,-11,]),'RPAREN':([13,14,15,17,19,21,22,23,24,],[-15,-16,-13,-14,-9,24,-10,-12,-11,]),'FLOAT':([8,9,11,12,13,14,15,17,18,19,20,21,22,23,24,],[15,15,15,15,-15,-16,-13,-14,15,-9,15,15,-10,-12,-11,]),'LBRACK':([7,8,9,11,12,13,14,15,17,18,19,20,21,22,23,24,],[11,11,11,11,11,-15,-16,-13,-14,11,-9,11,11,-10,-12,-11,]),'LPAREN':([7,8,9,11,12,13,14,15,17,18,19,20,21,22,23,24,],[12,12,12,12,12,-15,-16,-13,-14,12,-9,12,12,-10,-12,-11,]),'INTEGER':([8,9,11,12,13,14,15,17,18,19,20,21,22,23,24,],[17,17,17,17,-15,-16,-13,-14,17,-9,17,17,-10,-12,-11,]),':':([5,7,10,23,24,],[9,-5,-6,-12,-11,]),'=':([5,7,10,23,24,],[8,-5,-6,-12,-11,]),'$end':([0,1,2,4,6,13,14,15,16,17,18,19,22,23,24,],[-2,0,-1,-3,-4,-15,-16,-13,-8,-14,-7,-9,-10,-12,-11,]),}
_lr_action = { }
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _lr_action.has_key(_x): _lr_action[_x] = { }
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'decl':([1,],[2,]),'set':([3,],[4,]),'name':([3,],[5,]),'tuple':([7,8,9,11,12,18,20,21,],[10,14,14,14,14,14,14,14,]),'list':([9,11,12,],[18,20,21,]),'param':([3,],[6,]),'record':([8,9,11,12,18,20,21,],[16,19,19,19,22,22,22,]),'data':([0,],[1,]),}
_lr_goto = { }
for _k, _v in _lr_goto_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _lr_goto.has_key(_x): _lr_goto[_x] = { }
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S'",1,None,None,None),
('data',2,'p_data','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',194),
('data',0,'p_data','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',195),
('decl',2,'p_decl','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',203),
('decl',2,'p_decl','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',204),
('name',1,'p_name','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',208),
('name',2,'p_name','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',209),
('set',3,'p_set','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',216),
('param',3,'p_param','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',220),
('list',1,'p_list','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',224),
('list',2,'p_list','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',225),
('tuple',3,'p_tuple','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',233),
('tuple',3,'p_tuple','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',234),
('record',1,'p_record','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',238),
('record',1,'p_record','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',239),
('record',1,'p_record','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',240),
('record',1,'p_record','/home/fdabrandao/Desktop/myglpk/glpk_parser.py',241),
]
|