external/ragel.git
15 years agoUpdated the help output. Moved some code from InputData:: to main.
thurston [Sat, 14 Mar 2009 16:56:37 +0000 (16:56 +0000)]
Updated the help output. Moved some code from InputData:: to main.

git-svn-id: http://svn.complang.org/ragel/trunk@734 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoNeed line directives ahead of the host blocks.
thurston [Mon, 26 Jan 2009 17:00:26 +0000 (17:00 +0000)]
Need line directives ahead of the host blocks.

git-svn-id: http://svn.complang.org/ragel/trunk@669 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoDon't need the gperf keyword seaching anymore.
thurston [Mon, 26 Jan 2009 16:54:50 +0000 (16:54 +0000)]
Don't need the gperf keyword seaching anymore.

git-svn-id: http://svn.complang.org/ragel/trunk@668 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoFixed a problem reading hex numbers that have the high bit set when the
thurston [Fri, 23 Jan 2009 17:35:33 +0000 (17:35 +0000)]
Fixed a problem reading hex numbers that have the high bit set when the
alphabet is signed and on 64 bit. Reported by _why. Fix provided by Wialliam
Morgan. The literal 0xffffffff was used for a fully set long when -1L should be
used instead.

git-svn-id: http://svn.complang.org/ragel/trunk@663 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoadded:
thurston [Sun, 4 Jan 2009 21:23:15 +0000 (21:23 +0000)]
added:
    write start;
    write first_final;
    write error;

git-svn-id: http://svn.complang.org/ragel/trunk@660 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoChanged the names of the variables that represent the no* options.
thurston [Sun, 4 Jan 2009 20:39:52 +0000 (20:39 +0000)]
Changed the names of the variables that represent the no* options.

git-svn-id: http://svn.complang.org/ragel/trunk@659 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoFixed a copy-paste error reported by Jose Quinteiro.
thurston [Thu, 11 Dec 2008 04:40:50 +0000 (04:40 +0000)]
Fixed a copy-paste error reported by Jose Quinteiro.

git-svn-id: http://svn.complang.org/ragel/trunk@626 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoUpdated the header define wrapper since renaming.
thurston [Sat, 15 Nov 2008 20:56:04 +0000 (20:56 +0000)]
Updated the header define wrapper since renaming.

git-svn-id: http://svn.complang.org/ragel/trunk@573 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoRemoved the hyphens from the file names.
thurston [Sat, 15 Nov 2008 18:40:25 +0000 (18:40 +0000)]
Removed the hyphens from the file names.

git-svn-id: http://svn.complang.org/ragel/trunk@572 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMore renaming.
thurston [Sat, 15 Nov 2008 18:13:22 +0000 (18:13 +0000)]
More renaming.

git-svn-id: http://svn.complang.org/ragel/trunk@571 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMore cleanup ... dot and ruby file names.
thurston [Sat, 15 Nov 2008 03:43:38 +0000 (03:43 +0000)]
More cleanup ... dot and ruby file names.

git-svn-id: http://svn.complang.org/ragel/trunk@570 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoCleanup of dot code generation.
thurston [Sat, 15 Nov 2008 03:19:05 +0000 (03:19 +0000)]
Cleanup of dot code generation.

git-svn-id: http://svn.complang.org/ragel/trunk@569 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoCleanup of the C/D code generator.
thurston [Sat, 15 Nov 2008 01:33:13 +0000 (01:33 +0000)]
Cleanup of the C/D code generator.

git-svn-id: http://svn.complang.org/ragel/trunk@568 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoSome cleanup of the java code generation files.
thurston [Sat, 15 Nov 2008 00:51:53 +0000 (00:51 +0000)]
Some cleanup of the java code generation files.

git-svn-id: http://svn.complang.org/ragel/trunk@567 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoRemoved the now missing makefiles from the list of files to generate in the
thurston [Sat, 15 Nov 2008 00:25:15 +0000 (00:25 +0000)]
Removed the now missing makefiles from the list of files to generate in the
configure script. Changed the csharp- prefix to cs-. Remove the
cs-rlgen-csharp.h and cs-main.cpp files.

git-svn-id: http://svn.complang.org/ragel/trunk@566 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoDon't need the redfsm directory anymore.
thurston [Fri, 14 Nov 2008 23:59:37 +0000 (23:59 +0000)]
Don't need the redfsm directory anymore.

git-svn-id: http://svn.complang.org/ragel/trunk@565 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMoved all the code into the ragel directory.
thurston [Fri, 14 Nov 2008 23:58:13 +0000 (23:58 +0000)]
Moved all the code into the ragel directory.

git-svn-id: http://svn.complang.org/ragel/trunk@564 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoErich Ocean did more than just Objective-C code generation -- he contributed a
thurston [Thu, 13 Nov 2008 18:59:20 +0000 (18:59 +0000)]
Erich Ocean did more than just Objective-C code generation -- he contributed a
lot of feedback.

git-svn-id: http://svn.complang.org/ragel/trunk@563 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMore refactoring in the layer between backend and frontend.
thurston [Mon, 27 Oct 2008 18:26:31 +0000 (18:26 +0000)]
More refactoring in the layer between backend and frontend.

git-svn-id: http://svn.complang.org/ragel/trunk@502 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMinor refactoring. Added inputdata.h, which was left behind during previous
thurston [Mon, 27 Oct 2008 16:04:14 +0000 (16:04 +0000)]
Minor refactoring. Added inputdata.h, which was left behind during previous
commits.

git-svn-id: http://svn.complang.org/ragel/trunk@501 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoSome more movement of code and data within the layer between frontend and
thurston [Sun, 26 Oct 2008 19:28:44 +0000 (19:28 +0000)]
Some more movement of code and data within the layer between frontend and
backend. Needs more cleanup.

git-svn-id: http://svn.complang.org/ragel/trunk@500 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoSome more refactoring following the elimination of the intermediate file. Don't
thurston [Sun, 26 Oct 2008 18:03:11 +0000 (18:03 +0000)]
Some more refactoring following the elimination of the intermediate file. Don't
need XmlParser. Now using a new struct InputData instead.

git-svn-id: http://svn.complang.org/ragel/trunk@499 052ea7fc-9027-0410-9066-f65837a77df0

15 years agosome refactoring
thurston [Sun, 26 Oct 2008 03:20:16 +0000 (03:20 +0000)]
some refactoring

git-svn-id: http://svn.complang.org/ragel/trunk@498 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMore work on the direct connection between frontend and backend. Now appears to
thurston [Sun, 26 Oct 2008 01:36:54 +0000 (01:36 +0000)]
More work on the direct connection between frontend and backend. Now appears to
work. Test suite is passing.

git-svn-id: http://svn.complang.org/ragel/trunk@497 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoThe rest of the direct-to-backend code. Not tested yet.
thurston [Fri, 24 Oct 2008 22:37:40 +0000 (22:37 +0000)]
The rest of the direct-to-backend code. Not tested yet.

git-svn-id: http://svn.complang.org/ragel/trunk@496 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoImplemented makeLmSwitch and started making calls to makeGenInlineList.
thurston [Sun, 19 Oct 2008 17:30:44 +0000 (17:30 +0000)]
Implemented makeLmSwitch and started making calls to makeGenInlineList.

git-svn-id: http://svn.complang.org/ragel/trunk@495 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoScript for generating unicode machines. From Rakan El-Khalil.
thurston [Thu, 9 Oct 2008 23:29:27 +0000 (23:29 +0000)]
Script for generating unicode machines. From Rakan El-Khalil.

git-svn-id: http://svn.complang.org/ragel/trunk@494 052ea7fc-9027-0410-9066-f65837a77df0

15 years agomore work on the building of backend inline lists
thurston [Wed, 8 Oct 2008 21:10:46 +0000 (21:10 +0000)]
more work on the building of backend inline lists

git-svn-id: http://svn.complang.org/ragel/trunk@493 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoGet ragel working again while the direct-to-backend code is being written.
thurston [Wed, 8 Oct 2008 20:01:44 +0000 (20:01 +0000)]
Get ragel working again while the direct-to-backend code is being written.

git-svn-id: http://svn.complang.org/ragel/trunk@492 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoremoved unused function
thurston [Wed, 8 Oct 2008 19:49:25 +0000 (19:49 +0000)]
removed unused function

git-svn-id: http://svn.complang.org/ragel/trunk@491 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoImplemented more of the direct access to the backend.
thurston [Wed, 8 Oct 2008 18:42:32 +0000 (18:42 +0000)]
Implemented more of the direct access to the backend.

git-svn-id: http://svn.complang.org/ragel/trunk@490 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoStarted working on the direct construction of the backend inline item lists.
thurston [Wed, 8 Oct 2008 18:27:39 +0000 (18:27 +0000)]
Started working on the direct construction of the backend inline item lists.

git-svn-id: http://svn.complang.org/ragel/trunk@489 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoNeed preserve xml code generation and duplicate+migrate to direct backend data
thurston [Wed, 8 Oct 2008 18:06:42 +0000 (18:06 +0000)]
Need preserve xml code generation and duplicate+migrate to direct backend data
generation. This commit brings back some of the xml code generation code that
was migrated to direct.

git-svn-id: http://svn.complang.org/ragel/trunk@488 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoMore work on the direct access to the backend. The xml code gen should be
thurston [Wed, 8 Oct 2008 17:47:19 +0000 (17:47 +0000)]
More work on the direct access to the backend. The xml code gen should be
preserved, not converted. Going to have to bring back some changed code.

git-svn-id: http://svn.complang.org/ragel/trunk@487 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoThe action of the <ragel_def> tag was made into a direct function call.
thurston [Tue, 7 Oct 2008 22:01:55 +0000 (22:01 +0000)]
The action of the <ragel_def> tag was made into a direct function call.

git-svn-id: http://svn.complang.org/ragel/trunk@486 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoDon't need to pass the language as a string, just use hostLang.
thurston [Tue, 7 Oct 2008 20:58:05 +0000 (20:58 +0000)]
Don't need to pass the language as a string, just use hostLang.

git-svn-id: http://svn.complang.org/ragel/trunk@485 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoStarting to elminated the XML intermediate file. Removed the outter <ragel>
thurston [Tue, 7 Oct 2008 20:45:56 +0000 (20:45 +0000)]
Starting to elminated the XML intermediate file. Removed the outter <ragel>
tag. This required including xmlparse into the frontend files. One name clash
of ActionTableMap had to be fixed. It also required fixing some const
correctness problems.

git-svn-id: http://svn.complang.org/ragel/trunk@484 052ea7fc-9027-0410-9066-f65837a77df0

15 years ago"eof" is no longer a write command.
thurston [Tue, 7 Oct 2008 19:44:36 +0000 (19:44 +0000)]
"eof" is no longer a write command.

git-svn-id: http://svn.complang.org/ragel/trunk@483 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoemail address update: thurston@cs.queensu.ca -> thurston@complang.org
thurston [Tue, 7 Oct 2008 19:36:00 +0000 (19:36 +0000)]
email address update: thurston@cs.queensu.ca -> thurston@complang.org

git-svn-id: http://svn.complang.org/ragel/trunk@482 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoIn kelbt 0.13 the eof token is prefixed with the parser name. Also updated the
thurston [Tue, 7 Oct 2008 02:25:13 +0000 (02:25 +0000)]
In kelbt 0.13 the eof token is prefixed with the parser name. Also updated the
copyright year for -v, --version.

git-svn-id: http://svn.complang.org/ragel/trunk@481 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoAdded support for DESTDIR variable. Patch from Diego 'Flameeyes' Pettenò.
thurston [Mon, 6 Oct 2008 17:16:07 +0000 (17:16 +0000)]
Added support for DESTDIR variable. Patch from Diego 'Flameeyes' Pettenò.

git-svn-id: http://svn.complang.org/ragel/trunk@472 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoUse CXXFLAGS instead of CFLAGS for C++ compiling. Patch from Diego 'Flameeyes'
thurston [Mon, 6 Oct 2008 16:49:50 +0000 (16:49 +0000)]
Use CXXFLAGS instead of CFLAGS for C++ compiling. Patch from Diego 'Flameeyes'
Pettenò.

git-svn-id: http://svn.complang.org/ragel/trunk@471 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoremoved redundant error check
thurston [Mon, 6 Oct 2008 16:42:34 +0000 (16:42 +0000)]
removed redundant error check

git-svn-id: http://svn.complang.org/ragel/trunk@470 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoA fix to the documentation makefile from John D. Mitchell.
thurston [Sun, 7 Sep 2008 22:14:53 +0000 (22:14 +0000)]
A fix to the documentation makefile from John D. Mitchell.

git-svn-id: http://svn.complang.org/ragel/trunk@469 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoNow supplying the XmlParser to writeMachines.
thurston [Mon, 1 Sep 2008 23:31:52 +0000 (23:31 +0000)]
Now supplying the XmlParser to writeMachines.

git-svn-id: http://svn.complang.org/ragel/trunk@468 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoThe XML parser and scanner are now created in ragel/main.cpp. These structures
thurston [Mon, 1 Sep 2008 22:50:27 +0000 (22:50 +0000)]
The XML parser and scanner are now created in ragel/main.cpp. These structures
can now be made accessible during the writing of the XML file, allowing
incremental bypassing of the XML file.

git-svn-id: http://svn.complang.org/ragel/trunk@467 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoRenaming to avoid name conflicts following the merge of the frontend and backend.
thurston [Mon, 1 Sep 2008 16:45:30 +0000 (16:45 +0000)]
Renaming to avoid name conflicts following the merge of the frontend and backend.

git-svn-id: http://svn.complang.org/ragel/trunk@466 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoBackend main functions are now factored out.
thurston [Sun, 31 Aug 2008 16:44:13 +0000 (16:44 +0000)]
Backend main functions are now factored out.

git-svn-id: http://svn.complang.org/ragel/trunk@465 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoRemoved arg passing from frontend to backend functions.
thurston [Sun, 31 Aug 2008 15:45:26 +0000 (15:45 +0000)]
Removed arg passing from frontend to backend functions.

git-svn-id: http://svn.complang.org/ragel/trunk@464 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoDot output working again.
thurston [Sat, 30 Aug 2008 23:34:42 +0000 (23:34 +0000)]
Dot output working again.

git-svn-id: http://svn.complang.org/ragel/trunk@463 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoStarted on the move back to a single executable. The backend programs are now a
thurston [Sat, 30 Aug 2008 22:17:10 +0000 (22:17 +0000)]
Started on the move back to a single executable. The backend programs are now a
part of the ragel program, with the the frontend and and backend components now
function calls. The intermediate file is still used but eventually it will be
removed.

git-svn-id: http://svn.complang.org/ragel/trunk@462 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoNotes on version 6.3.
thurston [Fri, 29 Aug 2008 15:16:00 +0000 (15:16 +0000)]
Notes on version 6.3.

git-svn-id: http://svn.complang.org/ragel/trunk@460 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoInclude the root in the include history.
thurston [Fri, 18 Jul 2008 22:59:38 +0000 (22:59 +0000)]
Include the root in the include history.

git-svn-id: http://svn.complang.org/ragel/trunk@459 052ea7fc-9027-0410-9066-f65837a77df0

15 years agoTrack the entire include history of a parser state to prevent duplicates.
thurston [Fri, 18 Jul 2008 22:42:08 +0000 (22:42 +0000)]
Track the entire include history of a parser state to prevent duplicates.

git-svn-id: http://svn.complang.org/ragel/trunk@458 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded Mitchell Foral.
thurston [Sun, 1 Jun 2008 19:10:35 +0000 (19:10 +0000)]
Added Mitchell Foral.

git-svn-id: http://svn.complang.org/ragel/trunk@454 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoIn the condition code we need to copy transitions that have non-empty
thurston [Sun, 1 Jun 2008 19:10:17 +0000 (19:10 +0000)]
In the condition code we need to copy transitions that have non-empty
lmActionTable arrays so we can't assert emptyness in the constructor. Lift out
the assertion and copy the array in the constructor.

git-svn-id: http://svn.complang.org/ragel/trunk@453 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoadded item.
thurston [Wed, 28 May 2008 21:01:05 +0000 (21:01 +0000)]
added item.

git-svn-id: http://svn.complang.org/ragel/trunk@452 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoFixed crash on failed lookup of goto/call/etc target.
thurston [Mon, 12 May 2008 23:25:01 +0000 (23:25 +0000)]
Fixed crash on failed lookup of goto/call/etc target.

git-svn-id: http://svn.complang.org/ragel/trunk@451 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoMake all links black except for citations (of which there are none).
thurston [Mon, 12 May 2008 23:03:00 +0000 (23:03 +0000)]
Make all links black except for citations (of which there are none).

git-svn-id: http://svn.complang.org/ragel/trunk@450 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoanother grammar fix
thurston [Fri, 9 May 2008 19:09:30 +0000 (19:09 +0000)]
another grammar fix

git-svn-id: http://svn.complang.org/ragel/trunk@449 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoMinor clarity fixes.
thurston [Fri, 9 May 2008 19:08:26 +0000 (19:08 +0000)]
Minor clarity fixes.

git-svn-id: http://svn.complang.org/ragel/trunk@448 052ea7fc-9027-0410-9066-f65837a77df0

16 years agonotes on 6.2
thurston [Fri, 9 May 2008 18:29:54 +0000 (18:29 +0000)]
notes on 6.2

git-svn-id: http://svn.complang.org/ragel/trunk@446 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoNew patch from Evan with setup factored out.
thurston [Wed, 30 Apr 2008 02:05:30 +0000 (02:05 +0000)]
New patch from Evan with setup factored out.

git-svn-id: http://svn.complang.org/ragel/trunk@445 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoPatch from Evan Phoenix: updated rubinius code generation to the latest
thurston [Tue, 29 Apr 2008 00:44:27 +0000 (00:44 +0000)]
Patch from Evan Phoenix: updated rubinius code generation to the latest
rubinius.

git-svn-id: http://svn.complang.org/ragel/trunk@444 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoadded an item.
thurston [Thu, 24 Apr 2008 20:47:52 +0000 (20:47 +0000)]
added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@443 052ea7fc-9027-0410-9066-f65837a77df0

16 years agolm_switch needs to set p from tokend when there is no user action.
thurston [Mon, 21 Apr 2008 17:55:02 +0000 (17:55 +0000)]
lm_switch needs to set p from tokend when there is no user action.

git-svn-id: http://svn.complang.org/ragel/trunk@442 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded hyperref doc. From shabble on IRC.
thurston [Mon, 21 Apr 2008 16:05:50 +0000 (16:05 +0000)]
Added hyperref doc. From shabble on IRC.

git-svn-id: http://svn.complang.org/ragel/trunk@441 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoRemoved completed items.
thurston [Mon, 21 Apr 2008 15:56:06 +0000 (15:56 +0000)]
Removed completed items.

git-svn-id: http://svn.complang.org/ragel/trunk@440 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoremoved unused case
thurston [Sun, 20 Apr 2008 23:45:04 +0000 (23:45 +0000)]
removed unused case

git-svn-id: http://svn.complang.org/ragel/trunk@439 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdjust maxIndexOffset to include eofTrans. Use maxIndexOffset when picking the
thurston [Sun, 20 Apr 2008 23:39:18 +0000 (23:39 +0000)]
Adjust maxIndexOffset to include eofTrans. Use maxIndexOffset when picking the
type for eofTrans.

git-svn-id: http://svn.complang.org/ragel/trunk@438 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoBug fix for eofTrans. When not using indicies we can't use a transitions's id
thurston [Sun, 20 Apr 2008 23:16:19 +0000 (23:16 +0000)]
Bug fix for eofTrans. When not using indicies we can't use a transitions's id
to identify the transition to take. Instead add the transition to the end of
the list and store it's position in a new var called pos. The pos var is then
used as the index.

git-svn-id: http://svn.complang.org/ragel/trunk@437 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoMissing break.
thurston [Wed, 16 Apr 2008 20:05:46 +0000 (20:05 +0000)]
Missing break.

git-svn-id: http://svn.complang.org/ragel/trunk@436 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoApplied patch for compiling Ragel using MSVC from Andrei Polushin.
thurston [Tue, 15 Apr 2008 22:38:53 +0000 (22:38 +0000)]
Applied patch for compiling Ragel using MSVC from Andrei Polushin.
Changed WIN32 -> _WIN32.

git-svn-id: http://svn.complang.org/ragel/trunk@435 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoApplied a patch from Andrei Polushin for setting the error message format.
thurston [Tue, 15 Apr 2008 20:19:17 +0000 (20:19 +0000)]
Applied a patch from Andrei Polushin for setting the error message format.
  --error-format=gnu (default)
  --error-fromat=msvc
Switched from strcasecmp to strcmp for testing long arguments.
Changed ParamCheck::parameterArg -> paramArg.

git-svn-id: http://svn.complang.org/ragel/trunk@434 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoTest fnext in combination with fbreak.
thurston [Tue, 15 Apr 2008 18:23:23 +0000 (18:23 +0000)]
Test fnext in combination with fbreak.

git-svn-id: http://svn.complang.org/ragel/trunk@433 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded Andrei Polushin.
thurston [Sun, 13 Apr 2008 22:54:04 +0000 (22:54 +0000)]
Added Andrei Polushin.

git-svn-id: http://svn.complang.org/ragel/trunk@432 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoTypo fix from Andrei Polushin.
thurston [Sun, 13 Apr 2008 22:12:19 +0000 (22:12 +0000)]
Typo fix from Andrei Polushin.

git-svn-id: http://svn.complang.org/ragel/trunk@431 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoLM_ACTION and SUB_ACTION need to propagate csForced. Really should overhaul the
thurston [Sun, 13 Apr 2008 21:57:30 +0000 (21:57 +0000)]
LM_ACTION and SUB_ACTION need to propagate csForced. Really should overhaul the
action traversal and store these properties in some traversal descriptor.

git-svn-id: http://svn.complang.org/ragel/trunk@430 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAn fnext followed by an fbreak in -G2 did not work. The fbreak was not aware
thurston [Sat, 12 Apr 2008 17:10:56 +0000 (17:10 +0000)]
An fnext followed by an fbreak in -G2 did not work. The fbreak was not aware
that the fnext causes the cs variable to be forced active. In this case fbreak
does not need to save cs because it is already current.

git-svn-id: http://svn.complang.org/ragel/trunk@429 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoadded an item.
thurston [Fri, 11 Apr 2008 03:19:07 +0000 (03:19 +0000)]
added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@428 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoError messages in start label analysis of join operations were causing
thurston [Wed, 9 Apr 2008 22:03:26 +0000 (22:03 +0000)]
Error messages in start label analysis of join operations were causing
assertion failures because location info was not set. Fixed by adding
locations.

git-svn-id: http://svn.complang.org/ragel/trunk@427 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoPropagate ALLOW_GENFLAGS and ALLOW_MINFLAGS from language independent tests to
thurston [Mon, 7 Apr 2008 02:54:26 +0000 (02:54 +0000)]
Propagate ALLOW_GENFLAGS and ALLOW_MINFLAGS from language independent tests to
the generated language specific .rl files. In cond1.rl we need to turn off -F0
and -F1 because csharp by default uses 16 bit alphabet excessive amount of
static data is generated.

Added *.cs and *_csharp.rl patterns to the ignore list in test.

git-svn-id: http://svn.complang.org/ragel/trunk@426 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoImproved include and import file searching errors. Added documentation for
thurston [Mon, 7 Apr 2008 00:35:00 +0000 (00:35 +0000)]
Improved include and import file searching errors. Added documentation for
include file searching and the -I option.

git-svn-id: http://svn.complang.org/ragel/trunk@425 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoInclude and import file searching now searches for the file name given based on
thurston [Sun, 6 Apr 2008 23:49:01 +0000 (23:49 +0000)]
Include and import file searching now searches for the file name given based on
the location of the current file, not the program's current path. Additional
search locations can be given using the -I option.

git-svn-id: http://svn.complang.org/ragel/trunk@424 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded Tim Chklovski.
thurston [Thu, 3 Apr 2008 22:35:28 +0000 (22:35 +0000)]
Added Tim Chklovski.

git-svn-id: http://svn.complang.org/ragel/trunk@423 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoNeed to compute the low and high character-space keys from the condition-trans
thurston [Thu, 3 Apr 2008 22:33:28 +0000 (22:33 +0000)]
Need to compute the low and high character-space keys from the condition-trans
overlap when computing an expansion. Can't use the range supplied from the
condition overlap since they may not match. An incorrect machine that accepted
1(!cond1, !cond2) was generated for the following grammar.

c = 2 @matched_c;
sc1 = 1..2 when cond1;
sc2 = 1..2 when cond2;
main := sc1 | c | sc2;

This bug was reported by Tim Chklovski.

git-svn-id: http://svn.complang.org/ragel/trunk@422 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded limits for the constant sizes.
thurston [Mon, 31 Mar 2008 18:08:49 +0000 (18:08 +0000)]
Added limits for the constant sizes.

git-svn-id: http://svn.complang.org/ragel/trunk@421 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoC# patch Daniel Tang.
thurston [Sun, 30 Mar 2008 20:04:15 +0000 (20:04 +0000)]
C# patch Daniel Tang.

git-svn-id: http://svn.complang.org/ragel/trunk@420 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoDocs for 6.1.
thurston [Wed, 26 Mar 2008 22:58:35 +0000 (22:58 +0000)]
Docs for 6.1.

git-svn-id: http://svn.complang.org/ragel/trunk@418 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoNeed to unset the final state status of the start state in kleene star.
thurston [Wed, 26 Mar 2008 22:19:44 +0000 (22:19 +0000)]
Need to unset the final state status of the start state in kleene star.
Possible to crash ragel by ignoring the warning.

git-svn-id: http://svn.complang.org/ragel/trunk@417 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded a flag -d for turning off the removal of duplicate actions from actions
thurston [Thu, 20 Mar 2008 02:24:59 +0000 (02:24 +0000)]
Added a flag -d for turning off the removal of duplicate actions from actions
lists.

git-svn-id: http://svn.complang.org/ragel/trunk@416 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoScanners now ensure that a pattern's leaving actions are executed.
thurston [Thu, 14 Feb 2008 23:34:03 +0000 (23:34 +0000)]
Scanners now ensure that a pattern's leaving actions are executed.

git-svn-id: http://svn.complang.org/ragel/trunk@415 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoPrint any actions that are in State::eofTrans. These come from scanners only.
thurston [Thu, 14 Feb 2008 19:12:37 +0000 (19:12 +0000)]
Print any actions that are in State::eofTrans. These come from scanners only.

git-svn-id: http://svn.complang.org/ragel/trunk@414 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoUse @docdir@ for the docdir makefile variable.
thurston [Wed, 13 Feb 2008 23:46:44 +0000 (23:46 +0000)]
Use @docdir@ for the docdir makefile variable.

git-svn-id: http://svn.complang.org/ragel/trunk@413 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoCheck for ar and ranlib in the configure script.
thurston [Wed, 13 Feb 2008 23:11:16 +0000 (23:11 +0000)]
Check for ar and ranlib in the configure script.

git-svn-id: http://svn.complang.org/ragel/trunk@412 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoMenTaLguY needs to be in here.
thurston [Thu, 31 Jan 2008 17:16:53 +0000 (17:16 +0000)]
MenTaLguY needs to be in here.

git-svn-id: http://svn.complang.org/ragel/trunk@410 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoRemoved a comment that became invalid.
thurston [Sun, 13 Jan 2008 23:21:15 +0000 (23:21 +0000)]
Removed a comment that became invalid.

git-svn-id: http://svn.complang.org/ragel/trunk@409 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoAdded -V to the manual. Removed redundant description of visualization.
thurston [Sun, 13 Jan 2008 23:17:31 +0000 (23:17 +0000)]
Added -V to the manual. Removed redundant description of visualization.
Replaced it with a reference to the visualization section.

git-svn-id: http://svn.complang.org/ragel/trunk@408 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoUpdates to ChangeLog and release notes and the 6.0 version number.
thurston [Sat, 12 Jan 2008 18:33:02 +0000 (18:33 +0000)]
Updates to ChangeLog and release notes and the 6.0 version number.

git-svn-id: http://svn.complang.org/ragel/trunk@406 052ea7fc-9027-0410-9066-f65837a77df0

16 years agoRemoved debug message. Fixed const-correctness.
thurston [Sat, 12 Jan 2008 00:46:33 +0000 (00:46 +0000)]
Removed debug message. Fixed const-correctness.

git-svn-id: http://svn.complang.org/ragel/trunk@405 052ea7fc-9027-0410-9066-f65837a77df0