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

Avoinna
1 viikko sitten avasi Archivist · 0 kommenttia

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 viikko sitten
Sign in to join this conversation.
Ei merkkipaalua
Ei käsittelijää
1 osallistujaa
Ilmoitukset
Määräpäivä

Määräpäivää ei asetettu.

Riippuvuudet

This issue currently doesn't have any dependencies.

Ladataan…
Sisältöä ei vielä ole.