Änderungen

Summary

  1. Enforce EOL in grammars (otherwise parser just ignores invalid code and (commit: 15083fc) (details)
  2. added check for iterator method in foreach (closes #866) (commit: 4007b8a) (details)
Commit 15083fcbb0e477416951622f6420206ccc8ea020 by peter.peq
Enforce EOL in grammars (otherwise parser just ignores invalid code and
everything that follows)
(commit: 15083fc)
The file was modifiedde.peeeq.wurstscript/src/main/antlr/de/peeeq/wurstscript/antlr/Wurst.g4 (diff)
The file was modifiedde.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/ArrayTests.java (diff)
The file was modifiedde.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/ClassesExtTests.java (diff)
The file was modifiedde.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/BugTests.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/antlr/de/peeeq/wurstscript/antlr/Jass.g4 (diff)
The file was modifiedde.peeeq.wurstscript/src/main/antlr/de/peeeq/wurstscript/jurst/antlr/Jurst.g4 (diff)
Commit 4007b8aef1199102cb8a7b364cef1e3c0f3118c2 by peter.peq
added check for iterator method in foreach (closes #866)
test case contributed by Wareditor
Co-authored-by: Wareditor <[email protected]>
(commit: 4007b8a)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/attributes/AttrForEachStatement.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/types/WurstTypeNamedScope.java (diff)
The file was modifiedde.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/NewFeatureTests.java (diff)