[gnumeric] Parser: remove ifdeffery.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Parser: remove ifdeffery.
- Date: Wed, 16 Jan 2013 21:45:23 +0000 (UTC)
commit 283ad34f1a324f59434726cdf5093b9016567f0d
Author: Morten Welinder <terra gnome org>
Date: Wed Jan 16 16:44:57 2013 -0500
Parser: remove ifdeffery.
src/parser.y | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/parser.y b/src/parser.y
index 862ceb0..4254a4e 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -40,15 +40,6 @@
/* Allocation with disposal-on-error */
/*
- * Defined: the stack itself will be kept in use. This isn't much, btw.
- * This setting is good for speed.
- *
- * Not defined: memory will be freed. The is good for finding leaks in the
- * program. (Here and elsewhere.)
- */
-#define KEEP_DEALLOCATION_STACK_BETWEEN_CALLS
-
-/*
* If some dork enters "=1+2+2*(1+" we have already allocated space for
* "1+2", "2", and "1" before the parser sees the syntax error and warps
* us to the error production in the "line" non-terminal.
@@ -82,10 +73,8 @@ deallocate_init (void)
static void
deallocate_uninit (void)
{
-#ifndef KEEP_DEALLOCATION_STACK_BETWEEN_CALLS
g_ptr_array_free (deallocate_stack, TRUE);
deallocate_stack = NULL;
-#endif
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]