| 288 | } |
| 289 | |
| 290 | static int ParseAlignment(StringRef text, int &nextPos) { |
| 291 | if (((size_t)nextPos) >= text.size()) |
| 292 | return 1; |
| 293 | if (text[nextPos] != 'a') |
| 294 | return 1; |
| 295 | nextPos++; |
| 296 | return ParseInt(text, nextPos); |
| 297 | } |
| 298 | |
| 299 | VectorShape VectorShape::parse(StringRef text, int &nextPos) { |
| 300 | switch (text[nextPos++]) { |