forked from pool/cflow
- update to cflow-1.4
* Symbol aliases The `--symbol' option has been extended to allow for defining symbol aliases. Aliases are useful for declaring reserved words such as `__restrict' or `__inline'. For example, the option `--symbol __restrict:=restrict' instructs cflow to treat `__restrict' exactly as `restrict'. * New syntactic class: qualifiers Tokens in this class can legitimately appear in place of C qualifiers, such as `static' or `inline'. This class is useful for some compiler-depending keywords, such as `__extension__' in gcc. The usual declaration of this symbol is `--symbol __extension__:qualifier'. * Speed up recursive call detection. * Fix parsing of typedefs after `struct'. * Fix the output of branch marks in tree mode. * Fix processing of static inline functions (RH bug 650716). - drop cflow-fix-yyparse-return-type.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:tools/cflow?expand=0&rev=4
This commit is contained in:
parent
48588758f5
commit
f0103842b0
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3da87a3d50071b4427017c2224ecd032b478eabc8a58fef2f3407af257b95da
|
||||
size 601314
|
3
cflow-1.4.tar.bz2
Normal file
3
cflow-1.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:037e39d6048ea91c68a5f3a561e10f22fd085d1f7641643e19c831a94ec26bca
|
||||
size 634862
|
@ -1,33 +0,0 @@
|
||||
diff -up ./src/cflow.h.orig ./src/cflow.h
|
||||
--- ./src/cflow.h.orig 2008-12-17 14:23:52.000000000 +0100
|
||||
+++ ./src/cflow.h 2008-12-17 14:24:47.000000000 +0100
|
||||
@@ -174,7 +174,7 @@ void set_preprocessor(const char *arg);
|
||||
void pp_option(const char *arg);
|
||||
|
||||
void init_parse(void);
|
||||
-int yyparse(void);
|
||||
+void yyparse(void);
|
||||
|
||||
void output(void);
|
||||
void newline(void);
|
||||
diff -up ./src/parser.c.orig ./src/parser.c
|
||||
--- ./src/parser.c.orig 2008-12-17 14:24:03.000000000 +0100
|
||||
+++ ./src/parser.c 2008-12-17 14:25:07.000000000 +0100
|
||||
@@ -305,7 +305,7 @@ skip_to(int c)
|
||||
}
|
||||
}
|
||||
|
||||
-int
|
||||
+void
|
||||
yyparse()
|
||||
{
|
||||
Ident identifier;
|
||||
@@ -317,7 +317,7 @@ yyparse()
|
||||
identifier.storage = ExternStorage;
|
||||
switch (tok.type) {
|
||||
case 0:
|
||||
- return 0;
|
||||
+ return;
|
||||
case TYPEDEF:
|
||||
parse_typedef();
|
||||
break;
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 12:22:32 UTC 2011 - puzel@suse.com
|
||||
|
||||
- update to cflow-1.4
|
||||
* Symbol aliases
|
||||
The `--symbol' option has been extended to allow for defining
|
||||
symbol aliases. Aliases are useful for declaring reserved
|
||||
words such as `__restrict' or `__inline'. For example,
|
||||
the option `--symbol __restrict:=restrict' instructs cflow
|
||||
to treat `__restrict' exactly as `restrict'.
|
||||
* New syntactic class: qualifiers
|
||||
Tokens in this class can legitimately appear in place of C
|
||||
qualifiers, such as `static' or `inline'. This class is useful
|
||||
for some compiler-depending keywords, such as `__extension__'
|
||||
in gcc. The usual declaration of this symbol is `--symbol
|
||||
__extension__:qualifier'.
|
||||
* Speed up recursive call detection.
|
||||
* Fix parsing of typedefs after `struct'.
|
||||
* Fix the output of branch marks in tree mode.
|
||||
* Fix processing of static inline functions (RH bug 650716).
|
||||
- drop cflow-fix-yyparse-return-type.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 11:22:43 UTC 2011 - puzel@novell.com
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package cflow (Version 1.3)
|
||||
# spec file for package cflow
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -18,14 +18,13 @@
|
||||
|
||||
|
||||
Name: cflow
|
||||
Version: 1.3
|
||||
Version: 1.4
|
||||
Release: 1
|
||||
License: GLP v3
|
||||
Summary: Tool to generate flowcharts for C sources
|
||||
Url: http://www.gnu.org/software/cflow
|
||||
Group: Development/Tools/Other
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch1: cflow-fix-yyparse-return-type.patch
|
||||
PreReq: %install_info_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -38,10 +37,10 @@ files can optionally be preprocessed before analyzing.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure \
|
||||
--disable-silent-rules
|
||||
make
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user