echo " git config --add astyle.ignored 'scilab/modules/*/src/jni/*.c' "
echo " git config --add astyle.ignored 'scilab/modules/javasci/src/java/org/scilab/modules/javasci/Call_Scilab*.java' "
echo " git config --add astyle.ignored 'scilab/modules/renderer/src/java/org/scilab/modules/renderer/FigureScilabCall*.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/helptools/src/java/org/scilab/modules/helptools/SynopsisLexer.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/helptools/src/java/org/scilab/modules/helptools/XML/XMLLexer.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/helptools/src/java/org/scilab/modules/helptools/c/CLexer.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/helptools/src/java/org/scilab/modules/helptools/java/JavaLexer.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/helptools/src/java/org/scilab/modules/helptools/scilab/ScilabLexer.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/FunctionScanner.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/IndentScanner.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/MatchingBlockScanner.java' "
+ echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/ScilabLexer.java' "
+
echo
ASTYLE_IGNORED=""
import java.io.StringReader;
import java.io.IOException;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import java.io.IOException;
import java.io.StringReader;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import org.scilab.modules.helptools.c.AbstractCCodeHandler;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import java.io.StringReader;
import java.io.IOException;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import java.io.StringReader;
import java.io.IOException;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
-/* The following code was generated by JFlex 1.4.3 on 10/11/10 10:49 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:21 */
//CHECKSTYLE:OFF
import java.io.IOException;
import java.io.StringReader;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 10/11/10 10:49 from the specification file
- * <tt>function.jflex</tt>
+ * on 23/05/12 15:21 from the specification file
+ * <tt>./jflex/function.jflex</tt>
*/
public final class SynopsisLexer {
-/* The following code was generated by JFlex 1.4.3 on 30/11/10 14:38 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:21 */
//CHECKSTYLE:OFF
import java.io.StringReader;
import java.io.IOException;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 30/11/10 14:38 from the specification file
- * <tt>xml.jflex</tt>
+ * on 23/05/12 15:21 from the specification file
+ * <tt>./jflex/xml.jflex</tt>
*/
public final class XMLLexer {
-/* The following code was generated by JFlex 1.4.3 on 19/01/11 19:50 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:21 */
//CHECKSTYLE:OFF
import java.io.StringReader;
import java.io.IOException;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 19/01/11 19:50 from the specification file
- * <tt>c.jflex</tt>
+ * on 23/05/12 15:21 from the specification file
+ * <tt>./jflex/c.jflex</tt>
*/
public final class CLexer {
-/* The following code was generated by JFlex 1.4.3 on 19/01/11 19:50 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:21 */
//CHECKSTYLE:OFF
import org.scilab.modules.helptools.c.AbstractCCodeHandler;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 19/01/11 19:50 from the specification file
- * <tt>java.jflex</tt>
+ * on 23/05/12 15:21 from the specification file
+ * <tt>./jflex/java.jflex</tt>
*/
public final class JavaLexer {
-/* The following code was generated by JFlex 1.4.3 on 08/12/11 20:56 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:21 */
//CHECKSTYLE:OFF
import java.io.StringReader;
import java.io.IOException;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 08/12/11 20:56 from the specification file
- * <tt>scilab.jflex</tt>
+ * on 23/05/12 15:21 from the specification file
+ * <tt>./jflex/scilab.jflex</tt>
*/
public final class ScilabLexer {
import java.util.ArrayList;
import javax.swing.text.Element;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import java.io.IOException;
import javax.swing.text.Element;
import javax.swing.text.BadLocationException;
-
+
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import java.io.IOException;
import javax.swing.text.Element;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
%%
%public
import org.scilab.modules.commons.ScilabCommonsUtils;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
+
%%
%public
-/* The following code was generated by JFlex 1.4.3 on 09/08/10 00:22 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:23 */
//CHECKSTYLE:OFF
import java.util.ArrayList;
import javax.swing.text.Element;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 09/08/10 00:22 from the specification file
- * <tt>function.jflex</tt>
+ * on 23/05/12 15:23 from the specification file
+ * <tt>./jflex/function.jflex</tt>
*/
public final class FunctionScanner {
List<String> argsValues;
String functionName;
int end;
-
+
private ScilabDocument doc;
private String id;
try {
returnValues = new ArrayList();
argsValues = new ArrayList();
- end = p1;
+ end = p1;
yyreset(new ScilabDocumentReader(doc, p0, p1));
- yybegin(BROKEN);
- int broken = yylex();
-
- yyreset(new ScilabDocumentReader(doc, p0, p1));
- while (true) {
- int ret = yylex();
- if (ret != ScilabDocument.ScilabLeafElement.BROKEN) {
- return ret | broken;
- }
- Element elem = doc.getDefaultRootElement();
- int start = end + 1;
- elem = elem.getElement(elem.getElementIndex(end + 1));
- end = elem.getEndOffset();
- yyreset(new ScilabDocumentReader(doc, elem.getStartOffset(), end));
- yybegin(ARGS);
- }
+ yybegin(BROKEN);
+ int broken = yylex();
+
+ yyreset(new ScilabDocumentReader(doc, p0, p1));
+ while (true) {
+ int ret = yylex();
+ if (ret != ScilabDocument.ScilabLeafElement.BROKEN) {
+ return ret | broken;
+ }
+ Element elem = doc.getDefaultRootElement();
+ int start = end + 1;
+ elem = elem.getElement(elem.getElementIndex(end + 1));
+ end = elem.getEndOffset();
+ yyreset(new ScilabDocumentReader(doc, elem.getStartOffset(), end));
+ yybegin(ARGS);
+ }
} catch (IOException e) {
return ScilabDocument.ScilabLeafElement.NOTHING;
}
-/* The following code was generated by JFlex 1.4.2 on 03/05/10 21:20 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:23 */
//CHECKSTYLE:OFF
import java.io.IOException;
import javax.swing.text.Element;
import javax.swing.text.BadLocationException;
-
+
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
- * <a href="http://www.jflex.de/">JFlex</a> 1.4.2
- * on 03/05/10 21:20 from the specification file
- * <tt>indentation.jflex</tt>
+ * <a href="http://www.jflex.de/">JFlex</a> 1.4.3
+ * on 23/05/12 15:23 from the specification file
+ * <tt>./jflex/indentation.jflex</tt>
*/
public final class IndentScanner {
/** zzAtEOF == true <=> the scanner is at the EOF */
private boolean zzAtEOF;
+ /** denotes if the user-EOF-code has already been executed */
+ private boolean zzEOFDone;
+
/* user code: */
private ScilabDocument doc;
private Element elem;
zzReader = reader;
zzAtBOL = true;
zzAtEOF = false;
+ zzEOFDone = false;
zzEndRead = zzStartRead = 0;
zzCurrentPos = zzMarkedPos = 0;
yyline = yychar = yycolumn = 0;
-/* The following code was generated by JFlex 1.4.3 on 05/10/10 15:19 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:23 */
//CHECKSTYLE:OFF
import java.io.IOException;
import javax.swing.text.Element;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 05/10/10 15:19 from the specification file
- * <tt>matchingblock.jflex</tt>
+ * on 23/05/12 15:23 from the specification file
+ * <tt>./jflex/matchingblock.jflex</tt>
*/
public final class MatchingBlockScanner {
-/* The following code was generated by JFlex 1.4.3 on 03/01/12 15:10 */
+/* The following code was generated by JFlex 1.4.3 on 23/05/12 15:23 */
//CHECKSTYLE:OFF
import org.scilab.modules.commons.ScilabCommonsUtils;
+@javax.annotation.Generated("JFlex")
+@SuppressWarnings("fallthrough")
+
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
- * on 03/01/12 15:10 from the specification file
- * <tt>scilab.jflex</tt>
+ * on 23/05/12 15:23 from the specification file
+ * <tt>./jflex/scilab.jflex</tt>
*/
public final class ScilabLexer extends ScilabLexerConstants {