]> granicus.if.org Git - graphviz/commitdiff
remove unused exstatement()
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 26 May 2021 01:40:05 +0000 (18:40 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Jun 2021 14:13:19 +0000 (07:13 -0700)
lib/expr/expr.3
lib/expr/expr.h
lib/expr/exrewind.c

index d242fb4eca9a01f1ea1411e80a4636017a041d14..2fad380b387bffb4c16c01db8dc67b8a63b6f7f6 100644 (file)
@@ -47,7 +47,6 @@ int              expush(Expr_t*, const char*, int, const char*, Sfio_t*);
 int              expop(Expr_t*);
 int              excomp(Expr_t*, const char*, int, const char*, Sfio_t*);
 int              exrewind(Expr_t*);
-void             exstatement(Expr_t*);
 int              extoken(Expr_t*);
 char*            extype(int);
 Extype_t         exzero(int);
@@ -59,7 +58,6 @@ exopen() is the first function called.
 exclose() is the last function called.
 exccopen() is the called if code generation will be used.
 exccclose() releases the state information allocated in exccopen().
-exstatement() saves statement start information.
 exrewind() restores statement start information saved by exstatement().
 
 .SH "SEE ALSO"
index c7f44377d20239e786207e65de1e843ba456867f..e3cea35327dcc3fb6c1c60fb80837059c9842123 100644 (file)
@@ -291,7 +291,6 @@ extern int          expop(Expr_t*);
 extern int             expush(Expr_t*, const char*, int, const char*, Sfio_t*);
 extern int             exrewind(Expr_t*);
 extern char*           exstash(Sfio_t*, Vmalloc_t*);
-extern void            exstatement(Expr_t*);
 extern int             extoken_fn(Expr_t*);
 extern char*           exstring(Expr_t *, char *);
 extern void*           exstralloc(Expr_t *, void *, size_t);
index 1c3ec498cf55326ca3edaf36465f337e4020a323..9e7b3c4112e29a31e9d06db3d507e4afe2ed0b00 100644 (file)
@@ -47,10 +47,3 @@ exrewind(Expr_t* ex)
        setcontext(ex);
        return 0;
 }
-
-void
-exstatement(Expr_t* ex)
-{
-       ex->nesting = ex->input->nesting;
-       setcontext(ex);
-}