1 #ifndef YACASL2_TOKEN_INCLUDE
2 #define YACASL2_TOKEN_INCLUDE
18 LABELSIZE = 8, /**<ラベルの最大文字数 */
19 OPDSIZE = 40, /**<オペラントの最大数。CASL IIシミュレータの制限 */
26 LINESIZE = 1024, /**<行の最大文字数 */
27 TOKENSIZE = 256, /**<トークンの最大文字数 */
34 int opdc; /**<オペランド数 */
35 char *opdv[OPDSIZE]; /**<オペランド配列 */
42 char *label; /**<ラベル */
43 char *cmd; /**<コマンド */
44 OPD *opd; /**<オペランド */
48 * @brief トークン取得のエラーを追加する
52 void addcerrlist_tok();
55 * @brief 行から、ラベル・コマンド・オペランドを取得する
57 * @return ラベル・コマンド・オペランド
61 CMDLINE *linetok(const char *line);