vshaxe / hxparser

OCaml/menhir implementation of a new Haxe parser.
MIT License
16 stars 2 forks source link

Funny comma conditionals in acadnme's Int16Array / Int32Array #1

Closed Gama11 closed 7 years ago

Gama11 commented 7 years ago

Acadnme's Int16Array / Int32Array don't parse. Reduced to:

class Int16Array extends ArrayBufferView #if !haxe3 , #end implements ArrayAccess<Int> 
{
}
Fatal error: exception File "src/syntax/parserDriver.ml", line 284, characters 2-8: Assertion failed

http://lib.haxe.org/p/acadnme/5.6.3/files/acadnme-5.6.3/export/nme/utils/Int16Array.hx http://lib.haxe.org/p/acadnme/5.6.3/files/acadnme-5.6.3/export/nme/utils/Int32Array.hx

Gama11 commented 7 years ago

I guess this is pretty much the same as #4.