fixed scanner's setPos (method didn't change line number)
added common cdef.h file
added Syntax.h, Syntax.cpp