summaryrefslogtreecommitdiffstats
path: root/kde47/raptor/raptor-fix-soprano-bug.patch
diff options
context:
space:
mode:
authororchidman <lesibel@free.fr>2011-07-29 10:35:46 +0200
committerorchidman <lesibel@free.fr>2011-07-29 10:35:46 +0200
commit7257b85537d8eebe8635aafbf62f3b3cd29219e3 (patch)
tree12e3046df314224d95d35e76c7f95f1fd886c318 /kde47/raptor/raptor-fix-soprano-bug.patch
parenta62347ef7d01249dd68c773c73b92340059aa805 (diff)
downloadnutyx-pakxe-7257b85537d8eebe8635aafbf62f3b3cd29219e3.tar.gz
nutyx-pakxe-7257b85537d8eebe8635aafbf62f3b3cd29219e3.tar.bz2
nutyx-pakxe-7257b85537d8eebe8635aafbf62f3b3cd29219e3.tar.xz
nutyx-pakxe-7257b85537d8eebe8635aafbf62f3b3cd29219e3.zip
kde47 ajout
Diffstat (limited to 'kde47/raptor/raptor-fix-soprano-bug.patch')
-rw-r--r--kde47/raptor/raptor-fix-soprano-bug.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kde47/raptor/raptor-fix-soprano-bug.patch b/kde47/raptor/raptor-fix-soprano-bug.patch
new file mode 100644
index 000000000..ec7f087e0
--- /dev/null
+++ b/kde47/raptor/raptor-fix-soprano-bug.patch
@@ -0,0 +1,20 @@
+diff --git a/src/turtle_lexer.l b/src/turtle_lexer.l
+index c2f249b..f133747 100644
+--- a/src/turtle_lexer.l
++++ b/src/turtle_lexer.l
+@@ -381,9 +381,13 @@ EXPONENT [eE][+-]?[0-9]+
+ while(1) {
+ int c = yytext[yyleng - 1];
+ if(c == '{' || c == ' ' || c=='\t' || c == '\v' || c == '\n' ||
+- c == ':' || c == '-') {
++ c == '=' ) {
+ yyleng--;
+- } else
++ }
++ else if ( yyleng >= 2 && ( c == '-' && yytext[yyleng - 2] == ':' ) ) {
++ yyleng -= 2;
++ }
++ else
+ break;
+ }
+ yytext[yyleng] = '\0';