Lines Matching refs:tok
51 action tok {
52 tok = p;
57 tok, p - tok,
62 action parse_gid { if (!parse_uint (tok, p, &info.codepoint)) return false; }
63 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
64 action parse_x_offset { if (!parse_int (tok, p, &pos.x_offset )) return false; }
65 action parse_y_offset { if (!parse_int (tok, p, &pos.y_offset )) return false; }
66 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
67 action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; }
78 glyph_string = '"' (glyph_name >tok %parse_glyph) '"';
79 glyph_number = (glyph_id >tok %parse_gid);
82 cluster = "\"cl\"" colon (unum >tok %parse_cluster);
83 xoffset = "\"dx\"" colon (num >tok %parse_x_offset);
84 yoffset = "\"dy\"" colon (num >tok %parse_y_offset);
85 xadvance= "\"ax\"" colon (num >tok %parse_x_advance);
86 yadvance= "\"ay\"" colon (num >tok %parse_y_advance);
118 const char *tok = NULL;