File indexing completed on 2025-06-29 04:09:40

0001 /***************************************************************************
0002                                eparse-eh.h
0003                              ----------------
0004     begin                : Nov. 24, 2004
0005     copyright            : (C) 2004 The University of Toronto
0006     email                : netterfield@astro.utoronto.ca
0007  ***************************************************************************/
0008 
0009 /***************************************************************************
0010  *                                                                         *
0011  *   This program is free software; you can redistribute it and/or modify  *
0012  *   it under the terms of the GNU General Public License as published by  *
0013  *   the Free Software Foundation; either version 2 of the License, or     *
0014  *   (at your option) any later version.                                   *
0015  *                                                                         *
0016  ***************************************************************************/
0017 
0018 /* This file must be C-clean */
0019 
0020 #ifndef EPARSEEH_H
0021 #define EPARSEEH_H
0022 
0023 #ifdef __cplusplus
0024 
0025 #include "kstmath_export.h"
0026 #include <QStringList>
0027 
0028 namespace Equations {
0029    KSTMATH_EXPORT extern QStringList errorStack;
0030 }
0031 
0032 namespace Kst {
0033   class ObjectStore;
0034 }
0035 
0036 #endif
0037 
0038 #ifdef __cplusplus
0039 //extern "C" {
0040 #endif
0041   void yyerror(Kst::ObjectStore *store, const char *s);
0042   void yyerrortoken(char c);
0043 
0044   void yyClearErrors();
0045 
0046   int yyErrorCount();
0047 
0048   extern const char *EParseErrorEmpty;
0049   extern const char *EParseErrorEmptyArg;
0050   extern const char *EParseErrorTwoOperands;
0051   extern const char *EParseErrorEmptyParentheses;
0052   extern const char *EParseErrorMissingClosingParenthesis;
0053   extern const char *EParseErrorNoImplicitMultiply;
0054   extern const char *EParseErrorRequiresOperand;
0055 #ifdef __cplusplus
0056 //}
0057 #endif
0058 
0059 #endif
0060 
0061 /*
0062 vim: ts=2 sw=2 et
0063 */