parser: accepts `kwredef` in front of importation clauses
authorJean Privat <jean@pryen.org>
Wed, 9 Apr 2014 14:59:42 +0000 (10:59 -0400)
committerJean Privat <jean@pryen.org>
Wed, 9 Apr 2014 15:05:05 +0000 (11:05 -0400)
commita1f8fc4fd56afcb450081c3b1d0bf400206cb230
treee09d0d253af08e2f45524a44bb5f8191d3cf4d37
parent7fe2785873cbacd53d3d378000da151d6d54b21d
parser: accepts `kwredef` in front of importation clauses

OK, this is crazy.
The point is to avoid the inlining of the production `redef`.
Because `redef` is used a lot, the gain worth the crazyness.

TODO: catch the usage of `redef` and crash after parsing.

Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/nit.sablecc3xx