]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
Experimental support for implicit return assignments. This closes #107. To enable...
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
old mode 100755 (executable)
new mode 100644 (file)
index db0a8f4..035dc1b
--- a/lexer.c
+++ b/lexer.c
@@ -58,9 +58,9 @@ static size_t num_keywords_fg = sizeof(keywords_fg) / sizeof(keywords_fg[0]);
  * Lexer code
  */
 
-char* *lex_filenames;
+static char* *lex_filenames;
 
-void lexerror(lex_file *lex, const char *fmt, ...)
+static void lexerror(lex_file *lex, const char *fmt, ...)
 {
     va_list ap;
 
@@ -72,7 +72,7 @@ void lexerror(lex_file *lex, const char *fmt, ...)
     va_end(ap);
 }
 
-bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...)
+static bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...)
 {
     bool    r;
     lex_ctx ctx;