浏览代码

upgrading package: ragel 5.2 -> 5.3

Ralf S. Engelschall 20 年之前
父节点
当前提交
7d708a79f2
共有 2 个文件被更改,包括 7 次插入126 次删除
  1. 5 124
      ragel/ragel.patch
  2. 2 2
      ragel/ragel.spec

+ 5 - 124
ragel/ragel.patch

@@ -1,6 +1,6 @@
 Index: ragel/ragel.h
 --- ragel/ragel.h.orig	2005-12-17 04:50:57 +0100
-+++ ragel/ragel.h	2005-12-27 18:57:00 +0100
++++ ragel/ragel.h	2006-01-27 22:33:01 +0100
 @@ -25,6 +25,7 @@
  #include <stdio.h>
  #include <iostream>
@@ -10,8 +10,8 @@ Index: ragel/ragel.h
  
  #define PROGNAME "ragel"
 Index: rlcodegen/fsmcodegen.cpp
---- rlcodegen/fsmcodegen.cpp.orig	2005-12-21 07:15:28 +0100
-+++ rlcodegen/fsmcodegen.cpp	2005-12-27 18:57:00 +0100
+--- rlcodegen/fsmcodegen.cpp.orig	2006-01-24 21:22:12 +0100
++++ rlcodegen/fsmcodegen.cpp	2006-01-27 22:33:01 +0100
 @@ -25,6 +25,7 @@
  #include "fsmcodegen.h"
  #include "redfsm.h"
@@ -21,8 +21,8 @@ Index: rlcodegen/fsmcodegen.cpp
  
  /* Determine if a string is only whitespace. Code blocks that are only
 Index: rlcodegen/gendata.cpp
---- rlcodegen/gendata.cpp.orig	2005-12-22 08:04:14 +0100
-+++ rlcodegen/gendata.cpp	2005-12-27 18:57:00 +0100
+--- rlcodegen/gendata.cpp.orig	2006-01-24 21:22:12 +0100
++++ rlcodegen/gendata.cpp	2006-01-27 22:33:01 +0100
 @@ -31,6 +31,7 @@
  #include "fgotocodegen.h"
  #include "ipgotocodegen.h"
@@ -31,122 +31,3 @@ Index: rlcodegen/gendata.cpp
  #include <iostream>
  
  using std::endl;
-Index: rlcodegen/xmlparse.y
---- rlcodegen/xmlparse.y.orig	2005-12-22 08:04:14 +0100
-+++ rlcodegen/xmlparse.y	2005-12-27 18:57:00 +0100
-@@ -175,7 +175,7 @@
- 		else
- 			sourceFileName = fileNameAttr->value;
- 		openOutput( sourceFileName );
--	}
-+	};
- 
- AttributeList:
- 	AttributeList Attribute {
-@@ -190,7 +190,7 @@
- 	XML_Word '=' XML_Literal {
- 		attrKey = $1;
- 		attrValue = $3;
--	}
-+	};
- 	
- HostOrDefList:
- 	HostOrDefList HostOrDef |
-@@ -204,7 +204,7 @@
- 	'<' '/' TAG_host '>' {
- 		if ( outputFormat == OutCCode || outputFormat == OutDCode )
- 			*outStream << xmlData.data;
--	}
-+	};
- 
- TagHostHead:
- 	'<' TAG_host AttributeList '>' {
-@@ -216,14 +216,14 @@
- 			if ( outputFormat == OutCCode || outputFormat == OutDCode )
- 				lineDirective( *outStream, sourceFileName, line );
- 		}
--	}
-+	};
- 
- TagRagelDef:
- 	RagelDefHead
- 	RagelDefItemList
- 	'<' '/' TAG_ragel_def '>' {
- 		cgd->generate();
--	}
-+	};
- 
- RagelDefHead:
- 	'<' TAG_ragel_def AttributeList '>' {
-@@ -303,7 +303,7 @@
- 		else {
- 			warning() << "unrecognized write option" << endl;
- 		}
--	}
-+	};
- 
- 
- TagAlphType:
-@@ -361,7 +361,7 @@
- 	'<' '/' TAG_start_state '>' {
- 		unsigned long startState = strtoul( xmlData.data, 0, 10 );
- 		cgd->setStartState( startState );
--	}
-+	};
- 
- TagEntryPoints:
- 	'<' TAG_entry_points AttributeList '>'
-@@ -370,7 +370,7 @@
- 		Attribute *errorAttr = $3->find( "error" );
- 		if ( errorAttr != 0 )
- 			cgd->setForcedErrorState();
--	}
-+	};
- 
- EntryPointList:
- 	EntryPointList TagEntry |
-@@ -462,7 +462,7 @@
- 			cgd->initTransList( curState, length );
- 			curTrans = 0;
- 		}
--	}
-+	};
- 
- TransList:
- 	TransList TagTrans |
-@@ -531,7 +531,7 @@
- 	/* Nothing */ {
- 		/* Start with empty list. */
- 		$$ = new InlineList;
--	}
-+	};
- 
- InlineItem:
- 	TagText |
-@@ -564,7 +564,7 @@
- 	'<' '/' TAG_text '>' {
- 		$$ = new InlineItem( InputLoc(), InlineItem::Text );
- 		$$->data = strdup(xmlData.data);
--	}
-+	};
- 
- TagGoto:
- 	'<' TAG_goto '>'
-@@ -772,7 +772,7 @@
- 			cgd->initActionTableList( length );
- 			curActionTable = 0;
- 		}
--	}
-+	};
- 
- ActionTableList:
- 	ActionTableList TagActionTable |
-@@ -806,7 +806,7 @@
- 		}
- 
- 		curActionTable += 1;
--	}
-+	};
- 
- %%
- 

+ 2 - 2
ragel/ragel.spec

@@ -32,8 +32,8 @@ Distribution: OpenPKG
 Class:        PLUS
 Group:        Compiler
 License:      GPL
-Version:      5.2
-Release:      20060106
+Version:      5.3
+Release:      20060127
 
 #   list of sources
 Source0:      http://www.elude.ca/ragel/ragel-%{version}.tar.gz