aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-08-02 10:00:37 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-08-02 10:00:37 +0530
commit01dab20082d978365177fa2a13ecde163be2a5e7 (patch)
tree1682dc2c448215d62a659126ebfc1c36ed372c46 /include/lexer.h
parentc7991d1e3953cbe15c927a755189f43d6a071312 (diff)
engine,lexer,template: implement PUTPAGE for templates
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/lexer.h b/include/lexer.h
index f482f09..611e014 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -32,7 +32,8 @@ typedef enum {
BODY,
EACHDO,
ENDEACHDO,
- PUT
+ PUT,
+ PUTPAGE
} directive_e;
typedef struct {
@@ -82,9 +83,9 @@ void lexer_handle_eachdo(directive_t *directive,
key_match_t *match,
char *buffer,
size_t n);
-void lexer_handle_put(directive_t *directive,
- key_match_t *match,
- char *buffer,
- size_t n);
+void lexer_handle_putpage(directive_t *directive,
+ key_match_t *match,
+ char *buffer,
+ size_t n);
#endif