view src/qscintilla-4-matlab-while-fold.patch @ 4701:58d201e9e747

of-statistics: update to v1.4.0 * src/of-statistics-1-cross.patch: new file * build_packages.m: update statistics version * dist-files.mk: add ref to of-statistics-1-cross.patch * src/of-statistics.mk: update version, checksum
author John Donoghue
date Mon, 21 May 2018 08:05:47 -0400
parents 9c7b4337da98
children
line wrap: on
line source

diff -ur QScintilla_gpl-2.10.2.orig/lexers/LexMatlab.cpp QScintilla_gpl-2.10.2/lexers/LexMatlab.cpp
--- QScintilla_gpl-2.10.2.orig/lexers/LexMatlab.cpp	2018-01-02 08:15:29.183313917 -0500
+++ QScintilla_gpl-2.10.2/lexers/LexMatlab.cpp	2018-01-02 08:16:40.754287756 -0500
@@ -62,6 +62,7 @@
 	if (strcmp ("if", str) == 0 ||
 		strcmp ("for", str) == 0 ||
 		strcmp ("switch", str) == 0 ||
+		strcmp ("while", str) == 0 ||
 		strcmp ("try", str) == 0 ||
 		strcmp ("do", str) == 0 ||
 		strcmp ("parfor", str) == 0 ||