Commit 4a7e40ac authored by Daniel Honsel's avatar Daniel Honsel
Browse files

do not consider ASN import files

parent 4600f3a8
Loading
Loading
Loading
Loading
+20 −8
Original line number Diff line number Diff line
@@ -54,6 +54,17 @@ public class PreAnalyzer implements Callable<Boolean> {
				
			} else {
				
				boolean isASN = false;
				if (i.getSpec() != null) {
					for (String s : i.getSpec().getTxt()) {
						if (s.contains("ASN")) {
							isASN = true;
							break;
						}
					}
				}
				
				if (!isASN) {
					synchronized (TTCN3GlobalScopeProvider.IMPORTS) {
						if (TTCN3GlobalScopeProvider.IMPORTS.containsKey(this.resource)) {
							TTCN3GlobalScopeProvider.IMPORTS.get(this.resource)
@@ -63,6 +74,7 @@ public class PreAnalyzer implements Callable<Boolean> {
									initializeImportedObjects(i, importedModule));
						}
					}
				}
				
			}
		}