]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
-_- file->filename
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index 606ef5a9fee5cf768864d6a31e3cb84e5fe96c1a..ef4464ea0cd672a9803f281e7492b08cbee1d3f9 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -122,7 +122,7 @@ token* token_copy_all(const token *cp)
 lex_file* lex_open(const char *file)
 {
        lex_file *lex;
-       FILE *in = fopen(file, "rb");
+       FILE *in = util_fopen(file, "rb");
 
        if (!in) {
                lexerror(NULL, "open failed: '%s'\n", file);