Share

re2c scanner generator

Code

Programming Languages: C, C++

License: Public Domain

Repositories

browse code, statistics, last commit on 2009-01-08 svn co https://re2c.svn.sourceforge.net/svnroot/re2c re2c

Show:

What's happening?

  • Comment: RFE: way for scanner to report subsumed tokens

    YMFhZ5 dztewhtgjses, [url=http://ielvugclvpbl.com/]ielvugclvpbl[/url], [link=http://adsvdtjwgtwd.com/]adsvdtjwgtwd[/link], http://wzjtrghajszi.com/.

    2009-09-27 09:09:22 UTC by nobody

  • Conversion of pointer parameters into references

    I suggest to convert a parameter like "i" (function "compile") and "Go" (function "find") from a pointer to a reference so that further tests can be omitted because the intended check can be performed at compile time. http://en.wikipedia.org/wiki/Reference_(C%2B%2B)#Relationship_to_pointers Can such an interface design adjustment be applied on other places in the source code, too?...

    2009-09-18 13:21:06 UTC by elfring

  • Improve const-correctness

    Would you like to apply the advices from the article "http://en.wikipedia.org/wiki/Const-correctness" to more places in your sources? I suggest to add the key word "const" to the type specifiers for parameters like the following. r1, r2 (function "doDiff") rep (function "MatchOp::calcSize") http://re2c.svn.sourceforge.net/viewvc/re2c/trunk/re2c/actions.cc?revision=896&view=markup...

    2009-09-18 11:24:02 UTC by elfring

  • Comment: Access violation when translating the attached file

    Increasing BSIZE solves the problem, so I think the bug is in buffer reallocation.

    2009-03-26 07:37:42 UTC by nobody

  • Comment: re2c 0.13.5 not compile with Sun C

    it is the same with sparc and "Sun Ceres C 5.10 SunOS_sparc 2008/10/22" (SunStudioExpress): pkgbuild: /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -g -c -o parser.o parser.cc pkgbuild: "parser.y", line 98: Warning (Anachronism): Assigning std::pair to std::pair. pkgbuild: "parser.y", line 98: Error: Cannot cast from std::pair

    2009-02-13 13:41:04 UTC by tom68

  • re2c 0.13.5 not compile with Sun C

    re2c 0.13.5 not compile with Sun C compiler at Solaris 10 x64: CC -DHAVE_CONFIG_H -I. -g -c -o parser.o parser.cc "parser.y", line 98: Warning (Anachronism): Assigning std::pair to std::pair. "parser.y", line 98: Error: Cannot cast from std::pair to std::pair. 1 Error(s) and 1 Warning(s) detected.

    2009-01-25 09:59:21 UTC by dsdiv

  • Allow C++ // comments

    I may not be the only person in the world who is used to the C++ style of comment to end of line with //. It seems a rather benign change. The attached patch is for svn -r897. (If it is the wrong format or something, please let me re-do it, as I am rather a newbie at the patch system.) BTW: thanks to all who are maintain re2c, which is a fine program.

    2009-01-14 05:19:43 UTC by paulmcq

  • re2c scanner generator

    nuno-lopes committed revision 897 to the re2c scanner generator SVN repository, changing 3 files.

    2009-01-08 16:44:25 UTC by nuno-lopes

  • re2c scanner generator

    nuno-lopes committed revision 896 to the re2c scanner generator SVN repository, changing 1 files.

    2009-01-08 16:34:51 UTC by nuno-lopes

  • Comment: Access violation when translating the attached file

    Not sure yet where the error comes from but I can reproduce it. Btw, you must correct the order of your rules as re2c does not analyze them. For instance when '=' comes before '==' then the '==' rule will never be hit.

    2009-01-02 20:22:42 UTC by helly

Our Numbers