]> git.saurik.com Git - bison.git/blobdiff - src/files.c
doc: clean up references to `Tracking Locations'.
[bison.git] / src / files.c
index 71d3b042ce1fbea2d86b825f3185d91f39b0422e..c94d2c6f35c508b0a2db533e2441506059da244c 100644 (file)
@@ -1,6 +1,6 @@
 /* Open and close files for Bison.
 
-   Copyright (C) 1984, 1986, 1989, 1992, 2000-2010 Free Software
+   Copyright (C) 1984, 1986, 1989, 1992, 2000-2011 Free Software
    Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
@@ -205,7 +205,7 @@ file_name_split (const char *file_name,
   *base = last_component (file_name);
 
   /* Look for the extension, i.e., look for the last dot. */
-  *ext = strrchr (*base, '.');
+  *ext = mbsrchr (*base, '.');
   *tab = NULL;
 
   /* If there is an extension, check if there is a `.tab' part right