fasterthanlime / jooc-legacy

:crocodile: The historical, initial implementation of an ooc compiler in Java
http://ooc-lang.org/
MIT License
115 stars 4 forks source link

Expected end of statement or closing bracket not matched #72

Open cdrubin opened 14 years ago

cdrubin commented 14 years ago

This code :

import structs/ArrayList

main: func (arguments: ArrayList) {

  while ( true ) {

 "Oh, hi world =)" println()
}

compiles without a warning (notice the while closes at the end of the function!) and in this case does not have a problem. In a larger program with a function call inside the while a Seg fault follows the return.