|
37 | 37 | del _lr_goto_items |
38 | 38 | _lr_productions = [ |
39 | 39 | ("S' -> main","S'",1,None,None,None), |
40 | | - ('main -> factor combined_units','main',2,'p_main','cds.py',147), |
41 | | - ('main -> combined_units','main',1,'p_main','cds.py',148), |
42 | | - ('main -> DIMENSIONLESS','main',1,'p_main','cds.py',149), |
43 | | - ('main -> OPEN_BRACKET combined_units CLOSE_BRACKET','main',3,'p_main','cds.py',150), |
44 | | - ('main -> OPEN_BRACKET DIMENSIONLESS CLOSE_BRACKET','main',3,'p_main','cds.py',151), |
45 | | - ('main -> factor','main',1,'p_main','cds.py',152), |
46 | | - ('combined_units -> product_of_units','combined_units',1,'p_combined_units','cds.py',166), |
47 | | - ('combined_units -> division_of_units','combined_units',1,'p_combined_units','cds.py',167), |
48 | | - ('product_of_units -> unit_expression PRODUCT combined_units','product_of_units',3,'p_product_of_units','cds.py',173), |
49 | | - ('product_of_units -> unit_expression','product_of_units',1,'p_product_of_units','cds.py',174), |
50 | | - ('division_of_units -> DIVISION unit_expression','division_of_units',2,'p_division_of_units','cds.py',183), |
51 | | - ('division_of_units -> combined_units DIVISION unit_expression','division_of_units',3,'p_division_of_units','cds.py',184), |
52 | | - ('unit_expression -> unit_with_power','unit_expression',1,'p_unit_expression','cds.py',193), |
53 | | - ('unit_expression -> OPEN_PAREN combined_units CLOSE_PAREN','unit_expression',3,'p_unit_expression','cds.py',194), |
54 | | - ('factor -> signed_float X UINT signed_int','factor',4,'p_factor','cds.py',203), |
55 | | - ('factor -> UINT X UINT signed_int','factor',4,'p_factor','cds.py',204), |
56 | | - ('factor -> UINT signed_int','factor',2,'p_factor','cds.py',205), |
57 | | - ('factor -> UINT','factor',1,'p_factor','cds.py',206), |
58 | | - ('factor -> signed_float','factor',1,'p_factor','cds.py',207), |
59 | | - ('unit_with_power -> UNIT numeric_power','unit_with_power',2,'p_unit_with_power','cds.py',222), |
60 | | - ('unit_with_power -> UNIT','unit_with_power',1,'p_unit_with_power','cds.py',223), |
61 | | - ('numeric_power -> sign UINT','numeric_power',2,'p_numeric_power','cds.py',232), |
62 | | - ('sign -> SIGN','sign',1,'p_sign','cds.py',238), |
63 | | - ('sign -> <empty>','sign',0,'p_sign','cds.py',239), |
64 | | - ('signed_int -> SIGN UINT','signed_int',2,'p_signed_int','cds.py',248), |
65 | | - ('signed_float -> sign UINT','signed_float',2,'p_signed_float','cds.py',254), |
66 | | - ('signed_float -> sign UFLOAT','signed_float',2,'p_signed_float','cds.py',255), |
| 40 | + ('main -> factor combined_units','main',2,'p_main','cds.py',143), |
| 41 | + ('main -> combined_units','main',1,'p_main','cds.py',144), |
| 42 | + ('main -> DIMENSIONLESS','main',1,'p_main','cds.py',145), |
| 43 | + ('main -> OPEN_BRACKET combined_units CLOSE_BRACKET','main',3,'p_main','cds.py',146), |
| 44 | + ('main -> OPEN_BRACKET DIMENSIONLESS CLOSE_BRACKET','main',3,'p_main','cds.py',147), |
| 45 | + ('main -> factor','main',1,'p_main','cds.py',148), |
| 46 | + ('combined_units -> product_of_units','combined_units',1,'p_combined_units','cds.py',162), |
| 47 | + ('combined_units -> division_of_units','combined_units',1,'p_combined_units','cds.py',163), |
| 48 | + ('product_of_units -> unit_expression PRODUCT combined_units','product_of_units',3,'p_product_of_units','cds.py',169), |
| 49 | + ('product_of_units -> unit_expression','product_of_units',1,'p_product_of_units','cds.py',170), |
| 50 | + ('division_of_units -> DIVISION unit_expression','division_of_units',2,'p_division_of_units','cds.py',179), |
| 51 | + ('division_of_units -> combined_units DIVISION unit_expression','division_of_units',3,'p_division_of_units','cds.py',180), |
| 52 | + ('unit_expression -> unit_with_power','unit_expression',1,'p_unit_expression','cds.py',189), |
| 53 | + ('unit_expression -> OPEN_PAREN combined_units CLOSE_PAREN','unit_expression',3,'p_unit_expression','cds.py',190), |
| 54 | + ('factor -> signed_float X UINT signed_int','factor',4,'p_factor','cds.py',199), |
| 55 | + ('factor -> UINT X UINT signed_int','factor',4,'p_factor','cds.py',200), |
| 56 | + ('factor -> UINT signed_int','factor',2,'p_factor','cds.py',201), |
| 57 | + ('factor -> UINT','factor',1,'p_factor','cds.py',202), |
| 58 | + ('factor -> signed_float','factor',1,'p_factor','cds.py',203), |
| 59 | + ('unit_with_power -> UNIT numeric_power','unit_with_power',2,'p_unit_with_power','cds.py',218), |
| 60 | + ('unit_with_power -> UNIT','unit_with_power',1,'p_unit_with_power','cds.py',219), |
| 61 | + ('numeric_power -> sign UINT','numeric_power',2,'p_numeric_power','cds.py',228), |
| 62 | + ('sign -> SIGN','sign',1,'p_sign','cds.py',234), |
| 63 | + ('sign -> <empty>','sign',0,'p_sign','cds.py',235), |
| 64 | + ('signed_int -> SIGN UINT','signed_int',2,'p_signed_int','cds.py',244), |
| 65 | + ('signed_float -> sign UINT','signed_float',2,'p_signed_float','cds.py',250), |
| 66 | + ('signed_float -> sign UFLOAT','signed_float',2,'p_signed_float','cds.py',251), |
67 | 67 | ] |
0 commit comments