summary refs log tree commit diff stats
path: root/compiler/semexprs.nim
Commit message (Expand)AuthorAgeFilesLines
...
| * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700)LemonBoy2018-08-221-0/+5
* | some progress on destructors for builtin seqsAndreas Rumpf2018-08-201-1/+4
|/
* fixes #8425Araq2018-08-041-1/+1
* keep the imports in runnableExamples visible in generated html doc (#8354)skilchen2018-07-191-2/+3
* fix #7405 and #8195 (#8198)Timothee Cour2018-07-161-0/+3
* enable destructors without the --newruntime switchAndreas Rumpf2018-07-041-6/+1
* Minor changes to discardable handling (#8155)LemonBoy2018-07-011-13/+0
* fix #8129 by calling `semExpr` in `semIs` if node is `strLit` (#8130)Vindaar2018-06-291-0/+2
* Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-261-2/+2
|\
| * More concept fixesLemonBoy2018-06-241-2/+2
* | requested pull-request changesZahary Karadjov2018-06-161-0/+1
* | fix some breakage after rebasingZahary Karadjov2018-06-161-1/+1
* | fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-161-0/+30
* | Implement the `is` operator for the new static and typedesc type classesZahary Karadjov2018-06-161-20/+61
* | A minimal patch enabling the new typedesc and static types syntaxZahary Karadjov2018-06-161-6/+33
|/
* implements a --nep1:on switch to make the compiler enforce the naming convent...Andreas Rumpf2018-06-131-1/+1
* Fixes #6803Yuriy Glukhov2018-06-111-0/+3
* fixes yet another merge conflictAraq2018-06-111-2/+0
|\
| * Merge pull request #8009 from yglukhov/remove-oldIterTransfAndreas Rumpf2018-06-111-2/+0
| |\
| | * Removed oldIterTranf featureYuriy Glukhov2018-06-101-2/+0
* | | fixes merge conflictAraq2018-06-111-4/+2
|\| |
| * | fix #7997Vindaar2018-06-101-4/+2
| |/
* | fixex merge conflictsAraq2018-06-081-1/+1
|\|
| * Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-151-231/+238
| |\
| * | Yield in tryYuriy Glukhov2018-05-091-1/+1
* | | incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-3/+3
* | | refactoring: remove idents.legacy global variable and pass the IdentCache aro...Andreas Rumpf2018-05-271-18/+18
* | | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-10/+10
* | | make semantic checking free of globalsAndreas Rumpf2018-05-181-2/+2
* | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-7/+7
* | | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-1/+1
* | | remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-13/+16
| |/ |/|
* | fixes testament compilationAraq2018-05-141-5/+28
|\|
| * implement the export/except statementZahary Karadjov2018-05-071-2/+21
| * A motivating example for the new `bindSym` behavior.Zahary Karadjov2018-05-071-0/+2
| * Better support for treating templates and macros as symbols.Zahary Karadjov2018-05-071-3/+5
* | options.nim: no global variables anymoreAndreas Rumpf2018-05-131-6/+6
* | make nimsuggest compile againAndreas Rumpf2018-05-131-1/+1
* | sem pass compiles againAndreas Rumpf2018-05-121-144/+151
* | semstmts compiles againAndreas Rumpf2018-05-121-3/+3
* | more modules compile againAndreas Rumpf2018-05-121-107/+107
|/
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-3/+3
* minor speedup: concept tests still greenAndreas Rumpf2018-04-281-1/+2
* stuff that is greenAndreas Rumpf2018-04-281-1/+2
* semcheck: code cleanupsAndreas Rumpf2018-04-281-5/+1
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-3/+3
* new 'var T' error messages with hyperlinks; closes #7373Andreas Rumpf2018-04-221-4/+4
* fixes #5113Andreas Rumpf2018-04-211-0/+8
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-9/+11
* Static[T] fixes (#7333)zah2018-03-241-6/+34
'>39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119


                   
                  
                     







                         
                                                                           

           



                                                                            
             







                                  
                   
               
                 

               

                                                                          
               

                

           
                 
                    






                             
                    
                
                  
                
                
                                                                          
                                                         
                                                                         

                                                                    

             






                                  


                             

                                   


                                     

              




                                                                              





                                                                        




                                                                            





                                                                            











                                                                              




                                      
                        
#ifndef LYSTRUCTS_H
#define LYSTRUCTS_H

#ifndef HTANCHOR_H
#include <HTAnchor.h>
#endif /* HTANCHOR_H */

typedef struct link {
    char *lname;
    char *target;
    char *hightext;
    char *hightext2;
    int hightext2_offset;
    BOOL inUnderline;	/* TRUE when this link is in underlined context. */
    int lx;
    int ly;
    int type;		/* Type of link, Forms, WWW, etc. */
    int anchor_number;	/* The anchor number within the HText structure.  */
    int anchor_line_num;/* The anchor line number in the HText structure. */
    struct _FormInfo *form;	/* Pointer to form info. */
} linkstruct;
extern linkstruct links[MAXLINKS];
extern int nlinks;

typedef struct _document {
   char * title;
   char * address;
   char * post_data;
   char * post_content_type;
   char * bookmark;
   BOOL   safe;
   BOOL   isHEAD;
   int    link;
   int    line;
   BOOL   internal_link;	/* whether doc was reached via an internal
				 (fragment) link. - kw */
#ifdef USE_HASH
   char * style;
#endif
} document;

#ifndef HTFORMS_H
#include <HTForms.h>
#endif /* HTFORMS_H */

typedef struct _histstruct {
    char * title;
    char * address;
    char * post_data;
    char * post_content_type;
    char * bookmark;
    BOOL   safe;
    BOOL   isHEAD;
    int    link;
    int    line;
    BOOL   internal_link;	/* whether doc was reached via an internal
				 (fragment) link. - kw */
    int    intern_seq_start;	/* indicates which element on the history
				   is the start of this sequence of
				   "internal links", otherwise -1 */
} histstruct;

extern int Visited_Links_As;

#define VISITED_LINKS_AS_FIRST_V 0
#define VISITED_LINKS_AS_TREE    1
#define VISITED_LINKS_AS_LATEST  2
#define VISITED_LINKS_REVERSE    4

typedef struct _VisitedLink {
    char * title;
    char * address;
    int level;
    struct _VisitedLink *next_tree;
    struct _VisitedLink *prev_latest;
    struct _VisitedLink *next_latest;
    struct _VisitedLink *prev_first;
} VisitedLink;

extern histstruct history[MAXHIST];
extern int nhist;

typedef struct _lynx_html_item_type {
    struct _lynx_html_item_type *next;  /* the next item in the linked list */
    char *name; 			/* a description of the item */
    char *command;			/* the command to execute */
    int  always_enabled;		/* a constant to tell whether or
					* not to disable the printer
					* when the no_print option is on
					*/
} lynx_html_item_type;

/* for printer commands */
typedef struct _lynx_printer_item_type {
    struct _lynx_printer_item_type *next; /* next item in the linked list */
    char *name; 			  /* a description of the item	  */
    char *command;			  /* the command to execute	  */
    int  always_enabled;		  /* a constant to tell whether or
					   * not to disable the printer
					   * when the no_print option is on
					   */
    int pagelen;			  /* an integer to store the printer's
					   * page length
					   */
} lynx_printer_item_type;
extern lynx_printer_item_type *printers;

/* for download commands */
extern lynx_html_item_type *downloaders;

/* for upload commands */
extern lynx_html_item_type *uploaders;

#ifdef USE_EXTERNALS
/* for external commands */
extern lynx_html_item_type *externals;
#endif

#endif /* LYSTRUCTS_H */