# HG changeset patch # User John Donoghue # Date 1386889347 18000 # Node ID f03dfd9bf241ee2941e889de0ec9a3b229a5fbe9 # Parent cfcbe03c9160b465e48ede9c13eece734a6e7719 qscintilla: update keywords per qsintilla 2.8.1 patch * src/qscintilla-1-fixes.patch: updated patch file for keywords. diff -r cfcbe03c9160 -r f03dfd9bf241 src/qscintilla-1-fixes.patch --- a/src/qscintilla-1-fixes.patch Mon Dec 09 20:23:14 2013 -0500 +++ b/src/qscintilla-1-fixes.patch Thu Dec 12 18:02:27 2013 -0500 @@ -1,24 +1,42 @@ -diff -urp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt3/qscilexeroctave.cpp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt3/qscilexeroctave.cpp +diff -ur QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt3/qscilexeroctave.cpp QScintilla-gpl-2.8.1-snapshot-9ccf1c74f266/Qt3/qscilexeroctave.cpp --- QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt3/qscilexeroctave.cpp 2013-12-07 12:41:01.000000000 -0500 -+++ QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt3/qscilexeroctave.cpp 2013-12-07 12:43:24.000000000 -0500 -@@ -61,7 +61,7 @@ const char *QsciLexerOctave::keywords(in ++++ QScintilla-gpl-2.8.1-snapshot-9ccf1c74f266/Qt3/qscilexeroctave.cpp 2013-12-09 21:30:04.000000000 -0500 +@@ -61,10 +61,13 @@ { if (set == 1) return - "break case catch continue do else elseif end end_unwind_protect " -+ "break case catch continue do else elseif end end_try_catch end_unwind_protect " - "endfor endfunction endif endswitch endwhile for function " - "global if otherwise persistent return switch try until " - "unwind_protect unwind_protect_cleanup while"; -diff -urp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt4Qt5/qscilexeroctave.cpp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt4Qt5/qscilexeroctave.cpp +- "endfor endfunction endif endswitch endwhile for function " +- "global if otherwise persistent return switch try until " +- "unwind_protect unwind_protect_cleanup while"; ++ "__FILE__ __LINE__ break case catch classdef continue do else " ++ "elseif end end_try_catch end_unwind_protect endclassdef " ++ "endenumeration endevents endfor endfunction endif endmethods " ++ "endparfor endproperties endswitch endwhile enumeration events " ++ "for function get global if methods otherwise parfor persistent " ++ "properties return set static switch try until unwind_protect " ++ "unwind_protect_cleanup while"; + + return 0; + } +diff -ur QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt4Qt5/qscilexeroctave.cpp QScintilla-gpl-2.8.1-snapshot-9ccf1c74f266/Qt4Qt5/qscilexeroctave.cpp --- QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt4Qt5/qscilexeroctave.cpp 2013-12-07 12:41:01.000000000 -0500 -+++ QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt4Qt5/qscilexeroctave.cpp 2013-12-07 12:44:19.000000000 -0500 -@@ -61,7 +61,7 @@ const char *QsciLexerOctave::keywords(in ++++ QScintilla-gpl-2.8.1-snapshot-9ccf1c74f266/Qt4Qt5/qscilexeroctave.cpp 2013-12-09 21:30:04.000000000 -0500 +@@ -61,10 +61,13 @@ { if (set == 1) return - "break case catch continue do else elseif end end_unwind_protect " -+ "break case catch continue do else elseif end end_try_catch end_unwind_protect " - "endfor endfunction endif endswitch endwhile for function " - "global if otherwise persistent return switch try until " - "unwind_protect unwind_protect_cleanup while"; +- "endfor endfunction endif endswitch endwhile for function " +- "global if otherwise persistent return switch try until " +- "unwind_protect unwind_protect_cleanup while"; ++ "__FILE__ __LINE__ break case catch classdef continue do else " ++ "elseif end end_try_catch end_unwind_protect endclassdef " ++ "endenumeration endevents endfor endfunction endif endmethods " ++ "endparfor endproperties endswitch endwhile enumeration events " ++ "for function get global if methods otherwise parfor persistent " ++ "properties return set static switch try until unwind_protect " ++ "unwind_protect_cleanup while"; + + return 0; + }