From 64fbfbf47617a377a3dcd0f91d502d727a9091b8 Mon Sep 17 00:00:00 2001 From: stasinos Date: Wed, 22 Jan 2003 17:23:18 +0000 Subject: [PATCH] The '\e' character constant is a GCC extension. Use '\x1B' instead'. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@747 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/scanner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C/scanner.c b/C/scanner.c index 1921e8d3c..b998b96d5 100644 --- a/C/scanner.c +++ b/C/scanner.c @@ -4,12 +4,12 @@ * * * Yap Prolog was developed at NCCUP - Universidade do Porto * * * -* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-1997 * +* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-2003 * * * ************************************************************************** * * * File: %W% %G% * -* Last rev: * +* Last rev: 22-1-03 * * mods: * * comments: Prolog's scanner * * * @@ -227,7 +227,7 @@ read_quoted_char(int *scan_nextp, int inp_stream, int (*QuotedNxtch)(int)) case 'd': return 127; case 'e': - return '\e'; + return '\x1B'; /* , a.k.a. \e */ case 'f': return '\f'; case 'n':