Merge: escape_to_c: Escape trigraphs
authorJean Privat <jean@pryen.org>
Tue, 7 Jun 2016 16:07:37 +0000 (12:07 -0400)
committerJean Privat <jean@pryen.org>
Tue, 7 Jun 2016 16:07:37 +0000 (12:07 -0400)
commit712404b5cae65828a889d369b4a74119dc5ba820
tree87a8eb770c32f38aef3a2c6b51c6377a26514e21
parentacdd4fa93a6c6e298de6d44b795bedd5d3211dfe
parente6fd9bde80b721298d86d084b76f2726de83763d
Merge: escape_to_c: Escape trigraphs

Produce more standard-compliant code instead of relying on the default behaviour of gcc (or on its `-Wno-trigraphs` flag).

See also: https://github.com/nitlang/nit/pull/1949/commits/000ac8de3c64790b0fbb0e868e406a6a280f3fa9

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

Pull-Request: #2151
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/core/text/abstract_text.nit