#5 Use of reserved identifiers in the lexing code to define hard tokens

開啟中
Archivist1 周之前建立 · 0 條評論

The following identifiers are reserved and should not be used by ink (underscore followed by capital letter).

#define _KEYWORD_INK_FUNCTION "fn"
#define _KEYWORD_INK_MACRO "macro"
#define _KEYWORD_INK_DO "do"
#define _KEYWORD_INK_END "end"
#define _KEYWORD_INK_RETURN "return"

Current

#define _KEYWORD_INK_FUNCTION "fn"
#define _KEYWORD_INK_MACRO "macro"
#define _KEYWORD_INK_DO "do"
#define _KEYWORD_INK_END "end"
#define _KEYWORD_INK_RETURN "return"
Expected output:

nasal demons

The following identifiers are reserved and should not be used by ink (underscore followed by capital letter). ```c #define _KEYWORD_INK_FUNCTION "fn" #define _KEYWORD_INK_MACRO "macro" #define _KEYWORD_INK_DO "do" #define _KEYWORD_INK_END "end" #define _KEYWORD_INK_RETURN "return" ``` ## Current ```c #define _KEYWORD_INK_FUNCTION "fn" #define _KEYWORD_INK_MACRO "macro" #define _KEYWORD_INK_DO "do" #define _KEYWORD_INK_END "end" #define _KEYWORD_INK_RETURN "return" ``` ###### Expected output: `nasal demons`
Archivist added the
bug
label 1 周之前
登入 才能加入這對話。
未選擇里程碑
No Assignees
1 參與者
訊息
截止日期

未設定截止日期。

Dependencies

This issue currently doesn't have any dependencies.

Loading…
尚未有任何內容