mirror of
https://github.com/janet-lang/janet
synced 2025-11-11 04:53:02 +00:00
Allow calling keywords and symbols as functions to look
themselves up in a data structure. Allow calling a data structure to look up the argument.
This commit is contained in:
@@ -139,6 +139,7 @@ DEF_PARSER_STACK(_pushstate, JanetParseState, states, statecount, statecap)
|
||||
#define PFLAG_STRING 0x2000
|
||||
#define PFLAG_LONGSTRING 0x4000
|
||||
#define PFLAG_READERMAC 0x8000
|
||||
#define PFLAG_PAIR 0x10000
|
||||
|
||||
static void pushstate(JanetParser *p, Consumer consumer, int flags) {
|
||||
JanetParseState s;
|
||||
|
||||
Reference in New Issue
Block a user