From d7c74d8888bf9f3a7d5126b4f2bdff2578129344 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Fri, 26 Feb 2010 13:30:16 +0000 Subject: [PATCH] fix missing commit for syntax_erro --- H/iatoms.h | 1 + H/ratoms.h | 1 + H/tatoms.h | 2 ++ misc/ATOMS | 1 + 4 files changed, 5 insertions(+) diff --git a/H/iatoms.h b/H/iatoms.h index 1e3c929c8..aeefbb2d7 100644 --- a/H/iatoms.h +++ b/H/iatoms.h @@ -396,6 +396,7 @@ FunctorStreamEOS = Yap_MkFunctor(AtomEndOfStream,1); FunctorStreamPos = Yap_MkFunctor(AtomStreamPos,5); FunctorSyntaxError = Yap_MkFunctor(AtomSyntaxError,7); + FunctorShortSyntaxError = Yap_MkFunctor(AtomSyntaxError,1); FunctorThreadRun = Yap_MkFunctor(AtomTopThreadGoal,2); FunctorThrow = Yap_MkFunctor(AtomThrow,1); FunctorTimeoutError = Yap_MkFunctor(AtomTimeoutError,2); diff --git a/H/ratoms.h b/H/ratoms.h index 8e58386aa..49c9c48d6 100644 --- a/H/ratoms.h +++ b/H/ratoms.h @@ -396,6 +396,7 @@ FunctorStreamEOS = FuncAdjust(FunctorStreamEOS); FunctorStreamPos = FuncAdjust(FunctorStreamPos); FunctorSyntaxError = FuncAdjust(FunctorSyntaxError); + FunctorShortSyntaxError = FuncAdjust(FunctorShortSyntaxError); FunctorThreadRun = FuncAdjust(FunctorThreadRun); FunctorThrow = FuncAdjust(FunctorThrow); FunctorTimeoutError = FuncAdjust(FunctorTimeoutError); diff --git a/H/tatoms.h b/H/tatoms.h index 72f1b9ffe..7fdc3fad5 100644 --- a/H/tatoms.h +++ b/H/tatoms.h @@ -794,6 +794,8 @@ #define FunctorStreamPos Yap_heap_regs->FunctorStreamPos_ Functor FunctorSyntaxError_; #define FunctorSyntaxError Yap_heap_regs->FunctorSyntaxError_ + Functor FunctorShortSyntaxError_; +#define FunctorShortSyntaxError Yap_heap_regs->FunctorShortSyntaxError_ Functor FunctorThreadRun_; #define FunctorThreadRun Yap_heap_regs->FunctorThreadRun_ Functor FunctorThrow_; diff --git a/misc/ATOMS b/misc/ATOMS index a9ab86879..3e5eb05d1 100644 --- a/misc/ATOMS +++ b/misc/ATOMS @@ -405,6 +405,7 @@ F Stream Stream 1 F StreamEOS EndOfStream 1 F StreamPos StreamPos 5 F SyntaxError SyntaxError 7 +F ShortSyntaxError SyntaxError 1 F ThreadRun TopThreadGoal 2 F Throw Throw 1 F TimeoutError TimeoutError 2