diff src/paranormal/libcalc/parser.c @ 1978:fa9f85cebade

s/vfs_/aud_vfs_/g
author William Pitcock <nenolod@atheme.org>
date Sun, 07 Oct 2007 00:25:33 -0500
parents 17311560f45f
children 6b427677621f
line wrap: on
line diff
--- a/src/paranormal/libcalc/parser.c	Sun Oct 07 00:23:19 2007 -0500
+++ b/src/paranormal/libcalc/parser.c	Sun Oct 07 00:25:33 2007 -0500
@@ -1377,7 +1377,7 @@
   parser_control *pc = (parser_control *) yyparam;
   
   /* Ignore whitespace, get first nonwhite character. */
-  while ((c = vfs_getc (pc->input)) == ' ' || c == '\t' || c == '\n');
+  while ((c = aud_vfs_getc (pc->input)) == ' ' || c == '\t' || c == '\n');
   
   /* End of input ? */
   if (c == EOF)
@@ -1385,7 +1385,7 @@
 
   /* Char starts a number => parse the number. */
   if (isdigit (c)) {
-    vfs_fseek (pc->input, -1, SEEK_CUR); /* Put the char back. */
+    aud_vfs_fseek (pc->input, -1, SEEK_CUR); /* Put the char back. */
     {
       char *old_locale, *saved_locale;
 
@@ -1396,10 +1396,10 @@
 
       while (isdigit(c) || c == '.')
       {
-        c = vfs_getc(pc->input);
+        c = aud_vfs_getc(pc->input);
       }
 
-      vfs_fseek(pc->input, -1, SEEK_CUR);
+      aud_vfs_fseek(pc->input, -1, SEEK_CUR);
 
       setlocale (LC_ALL, saved_locale);
       g_free (saved_locale);
@@ -1417,10 +1417,10 @@
       sym_name = g_string_append_c (sym_name, c);
 
       /* Get another character. */
-      c = vfs_getc (pc->input);
+      c = aud_vfs_getc (pc->input);
     } while (c != EOF && isalnum (c));
     
-    vfs_fseek (pc->input, -1, SEEK_CUR);
+    aud_vfs_fseek (pc->input, -1, SEEK_CUR);
 
     yylval->s_value = sym_name->str;
     
@@ -1501,7 +1501,7 @@
 
   g_return_val_if_fail(str != NULL && dict != NULL, NULL);
 
-  stream = vfs_buffer_new_from_string ( (char *) str );
+  stream = aud_vfs_buffer_new_from_string ( (char *) str );
 
   pc.input = stream;
   pc.expr = expr_new ();
@@ -1513,7 +1513,7 @@
     pc.expr = NULL;
   }
 
-  vfs_fclose (stream);
+  aud_vfs_fclose (stream);
 
   return pc.expr;
 }