#ifndef UP_EXTRNL_SYNTAX_H
#define UP_EXTRNL_SYNTAX_H

#define UP_EXTSYN_OK         0
#define UP_EXTSYN_ERR        1
#define UP_EXTSYN_WARN       2
#define UP_EXTSYN_ERR_WARN   3


typedef struct _external_syntax_struct {
  int result;
  char * error_str;
  char * warning_str;
  char * new_obj;
} external_syntax_struct;

typedef struct _attribute_struct {
  char * type;
  char * content;
} attribute_struct;

external_syntax_struct * UP_check_external_syntax(Object * arg, char * text);


#endif
