summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-17 11:11:04 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-17 11:11:04 +0200
commite3c2376caeb23c617dd59317a2dd80c507089b90 (patch)
treeaa84e2fba28f4b95cb806c4022c4303716379cc7
parentc664fcba196669b329e3e8f63c76120b5cd50df2 (diff)
use pragma in lex header
-rw-r--r--lex.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lex.h b/lex.h
index e5d843f..7f43c8b 100644
--- a/lex.h
+++ b/lex.h
@@ -1,5 +1,4 @@
-#ifndef LEX_H
-#define LEX_H
+#pragma once
#include "typeutils.h"
@@ -86,5 +85,3 @@ typedef struct {
LexResult lex(char* input);
-
-#endif