...
 
Commits (3)
To fix: Rule line numers refer to the next line if the rule has no action
block
- no todos -
#define VERSION "2.07.03"
#define VERSION "2.07.04"
#define YEARS "2008-2018"
......@@ -116,7 +116,8 @@ void main(int argc, list argv)
if (option == "oxref")
{
run("icmbuild " + psType);
run("oxref -fxs tmp/lib" LIBRARY ".a > " PROGRAM ".xref");
run("oxref -t main -r replace -fxs tmp/main.o tmp/lib" LIBRARY ".a > "
PROGRAM ".xref");
exit(0);
}
......
flexc++ (2.07.04)
* The descriptions of the members pushStream and popStream in the flexc++api
man-page and the manual was updated
* The file flexc++.xref now also contains flexc++'s function call-tree.
-- Frank B. Brokken <f.b.brokken@rug.nl> Thu, 21 Mar 2019 03:36:41 +0100
flexc++ (2.07.03)
* Updated the QUICK START sections in bf(flexc++)(1).
......
flexc++ (2.07.04-1) unstable; urgency=low
* New upstream release contains new flexc++.xref file and updated
descriptions of pushStream and popStream in both the flexc++api man-page
and the manual.
-- Frank B. Brokken <f.b.brokken@rug.nl> Thu, 21 Mar 2019 03:40:59 +0100
flexc++ (2.07.03-1) unstable; urgency=low
[ Frank B. Brokken ]
* New upstream release: updated some manual sections and other cosmetic
changes. See the upstream changelog.
......
......@@ -5,10 +5,10 @@ Maintainer: Frank B. Brokken <f.b.brokken@rug.nl>
Uploaders: George Danchev <danchev@spnet.net>,
tony mancill <tmancill@debian.org>
Build-Depends: debhelper (>= 11),
libbobcat-dev (>= 4.08.05),
libbobcat-dev (>= 4.08.06),
icmake (>= 9.02.04),
yodl (>= 4.02.00)
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Homepage: https://fbb-git.gitlab.io/flexcpp/
Vcs-Browser: https://salsa.debian.org/debian/flexcpp
Vcs-Git: https://salsa.debian.org/debian/flexcpp.git
......
......@@ -196,7 +196,9 @@ manpagesection(14. PROTECTED MEMBER FUNCTIONS)
the most recently stacked input stream (removing it from the stack of
streams). If this switch was successfully performed tt(true) is
returned, otherwise (e.g., when the stream stack is empty) tt(false)
is returned;
is returned. It is called automatically at the end of the currently
processed input stream. After completely processing the first input
file the member tt(lex) returns 0.
itb(void push(size_t ch))
character tt(ch) is pushed back onto the input stream. I.e., it will be
......@@ -218,7 +220,10 @@ manpagesection(14. PROTECTED MEMBER FUNCTIONS)
itb(void pushStream(std::string const &curName))
same, but the stream tt(curName) is opened first, and the resulting
tt(istream) is pushed on the stream stack;
tt(istream) is pushed on the stream stack. If tt(curName) does not
exist a tt(std::exception) is thrown. An exception is also thrown when
the stream stack size exceeds (by default) 10 (the option
tt(max-depth) can be used to change the default).
bf(This member is not available with interactive scanners.)
......
......@@ -23,14 +23,17 @@ switching. By default, at a stream's end-of-file the member tt(bool
popStream()) is automatically called by flc(), closing the currently processed
input stream and continuing the processing of the most recently stacked input
stream (removing it from the stack of streams). If this switch was
successfully performed tt(true) is returned, otherwise (e.g., when the stream
stack is empty) tt(false) is returned.
successfully performed tt(true) is returned. Otherwise (e.g., when the stream
stack is empty) tt(false) is returned. If the stream to switch to does not
exist a tt(std::exception) is thrown. An exception is also thrown when files
are recursively pushed.
Returning to the previously stacked stream is handled automatically and
does not require the use of a tt(<<EOF>>) rule. If an tt(<<EOF>>) rule is
does not require the use of an tt(<<EOF>>) rule. If an tt(<<EOF>>) rule is
defined, however, previously pushed streams are em(not) automatically
re-activated. In that case, returning to previously pushed streams is the
responsibility of the programmer.
responsibility of the programmer. After completely processing the first input
file the member tt(lex) returns 0.
When switching to another stream the line number counter and file name are
reset to, respectively, 1 and the new file's name. When returning to a
......@@ -41,7 +44,7 @@ are restored.
support member functions of the Scanner class (actually, the functions are
implemented as members of the ScannerBase base class):
itemization(
#includefile(../../man/streamswitching.yo)
includefile(../../man/streamswitching.yo)
)
When switching streams using the above input-stream switching members
processing of the current input file ends, and continues at the file or stream
......
This diff is collapsed.
#, std::allocator<bool> ##
#, std::allocator<char> ##
#, std::allocator<unsigned long> ##
#, std::allocator<std::pair<unsigned long, unsigned long> > ##
#std::__cxx11::basic_string<char, std::char_traits<char>>#std::string#
#, std::allocator<std::string > ##
#std::set<char, std::less<char>>#std::set<char>#
#, std::allocator<std::set<unsigned long, std::less<unsigned long>> > ##
#std::set<unsigned long, std::less<unsigned long>>#std::set<unsigned long>#
#__gnu_cxx::__normal_iterator<std::pair<unsigned long, CharClass::CharType>*, std::vector<std::pair<unsigned long, CharClass::CharType>, std::allocator<std::pair<unsigned long, CharClass::CharType> > > >#TypeVector::iterator#
#__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long> >#TagIter#
#[abi:cxx11]##