summaryrefslogtreecommitdiffstats
path: root/src/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lex.h')
-rw-r--r--src/lex.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lex.h b/src/lex.h
index 307bec0..1b9ec68 100644
--- a/src/lex.h
+++ b/src/lex.h
@@ -24,8 +24,7 @@
*/
-#ifndef _FASTD_LEX_H_
-#define _FASTD_LEX_H_
+#pragma once
#include "types.h"
#include <config.yy.h>
@@ -37,5 +36,3 @@ fastd_lex_t* fastd_lex_init(FILE *file);
void fastd_lex_destroy(fastd_lex_t *lex);
int fastd_lex(YYSTYPE *yylval, YYLTYPE *yylloc, fastd_lex_t *lex);
-
-#endif /* _FASTD_LEX_H_ */