From 0cd4990575dc5b936ff4f6edfaf0a536724eb9eb Mon Sep 17 00:00:00 2001 From: XoD Date: Wed, 21 Dec 2011 20:57:15 +0100 Subject: [PATCH] Fix constant string type in punctuation_s Signed-off-by: XoD --- neo/idlib/Lexer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/idlib/Lexer.h b/neo/idlib/Lexer.h index ea73cf1..9ff408c 100644 --- a/neo/idlib/Lexer.h +++ b/neo/idlib/Lexer.h @@ -129,7 +129,7 @@ typedef enum { // punctuation typedef struct punctuation_s { - char *p; // punctuation character(s) + const char *p; // punctuation character(s) int n; // punctuation id } punctuation_t;