]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.976 v7.3.976
authorBram Moolenaar <Bram@vim.org>
Mon, 20 May 2013 11:55:21 +0000 (13:55 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 20 May 2013 11:55:21 +0000 (13:55 +0200)
Problem:    Can't build on HP-UX.
Solution:   Remove modern initialization. (John Marriott)

src/regexp_nfa.c
src/version.c

index eea173816ab176a2faa73ef58d4fdaacfb87cf6d..cb418887450b9630f6b522dc4cb5d1f2f18b668f 100644 (file)
@@ -1961,14 +1961,17 @@ static void st_push __ARGS((Frag_T s, Frag_T **p, Frag_T *stack_end));
 static Frag_T st_pop __ARGS((Frag_T **p, Frag_T *stack));
 
 /*
- * Initialize Frag_T struct.
+ * Initialize a Frag_T struct and return it.
  */
     static Frag_T
 frag(start, out)
     nfa_state_T        *start;
     Ptrlist    *out;
 {
-    Frag_T n = { start, out };
+    Frag_T n;
+
+    n.start = start;
+    n.out = out;
     return n;
 }
 
@@ -2144,7 +2147,7 @@ post2nfa(postfix, end, nfa_calc_size)
     if (postfix == NULL)
        return NULL;
 
-#define PUSH(s)            st_push ((s), &stackp, stack_end)
+#define PUSH(s)            st_push((s), &stackp, stack_end)
 #define POP()      st_pop(&stackp, stack);             \
                    if (stackp < stack)                 \
                    {                                   \
index 6f07a041687d82ab18dd862530d75bb55f546ce5..933cf911a632d3cc5fd87983cb075fafb200d4c8 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    976,
 /**/
     975,
 /**/