Commits

Robert Gruendler  committed f40c40a

minor fix

  • Participants
  • Parent commits e0a4dcf

Comments (0)

Files changed (4)

File com.dubture.twig.core/src/com/dubture/twig/core/builder/TwigBuildParticipant.java

         ISourceModule sourceModule = context.getSourceModule();
 
         try {
-            if (TwigModelUtils.isTwigTemplate(file.getName())) {
+            if (file != null && TwigModelUtils.isTwigTemplate(file.getName())) {
                 model.addTemplate(new Template(sourceModule));
             }
         } catch (Exception e) {

File com.dubture.twig.core/src/com/dubture/twig/core/parser/ast/ParserConstants.java

 
 //----------------------------------------------------
 // The following code was generated by CUP v0.10k
-// Mon Apr 08 01:25:00 CEST 2013
+// Mon Apr 15 18:20:43 CEST 2013
 //----------------------------------------------------
 
 package com.dubture.twig.core.parser.ast;

File com.dubture.twig.core/src/com/dubture/twig/core/parser/ast/TwigAstLexer.java

-/* The following code was generated by JFlex 1.2.2 on 4/8/13 1:24 AM */
+/* The following code was generated by JFlex 1.2.2 on 4/15/13 6:20 PM */
 
 /*******************************************************************************
  * This file is part of the Twig eclipse plugin.
 /**
  * This class is a scanner generated by 
  * <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2
- * on 4/8/13 1:24 AM from the specification file
+ * on 4/15/13 6:20 PM from the specification file
  * <tt>file:/Users/sobert/Documents/workspaces/eclipse/Twig-Eclipse-Plugin/com.dubture.twig.core/Resources/parserTools/parser/ast_scanner.jflex</tt>
  */
 public class TwigAstLexer implements java_cup.runtime.Scanner {

File com.dubture.twig.core/src/com/dubture/twig/core/parser/ast/TwigAstParser.java

 
 //----------------------------------------------------
 // The following code was generated by CUP v0.10k
-// Mon Apr 08 01:25:00 CEST 2013
+// Mon Apr 15 18:20:43 CEST 2013
 //----------------------------------------------------
 
 package com.dubture.twig.core.parser.ast;
 import org.eclipse.dltk.ast.statements.Statement;
 
 /** CUP v0.10k generated parser.
-  * @version Mon Apr 08 01:25:00 CEST 2013
+  * @version Mon Apr 15 18:20:43 CEST 2013
   */
 public class TwigAstParser extends AbstractAstParser {