()
| 133 | }; |
| 134 | |
| 135 | var float_type = function() { |
| 136 | var ret = ""; |
| 137 | all_ws(); |
| 138 | if (consume(ID, "unrestricted")) ret = "unrestricted "; |
| 139 | all_ws(); |
| 140 | if (consume(ID, "float")) return ret + "float"; |
| 141 | if (consume(ID, "double")) return ret + "double"; |
| 142 | if (ret) error("Failed to parse float type"); |
| 143 | }; |
| 144 | |
| 145 | var primitive_type = function() { |
| 146 | var num_type = integer_type() || float_type(); |
no test coverage detected