Update parser.c

Add license clauses