uppsrc_ide.diff

Patch for uppsrc/ide (since 13733 revision) - Sender Ghost, 12/04/2019 03:31 AM

Download (710 Bytes)

View differences:

uppsrc/ide/Errors.cpp
82 82
				}
83 83
				catch(CParser::Error) {}
84 84
				const char *ms = p.GetPtr();
85
				f.kind = 3;
86
				if(ln.Find("warning") >= 0)
85
				if(ln.Find(": warning") >= 0)
87 86
					f.kind = 2;
88
				else {
89
					int q = ln.Find("error");
90
					if(q >= 0 && (q == 0 || !IsAlpha(ln[q - 1])) && (q + 5 >= ln.GetCount() || !IsAlpha(ln[q - 1])))
91
						f.kind = 1;
92
				}
87
				else if(ln.Find(": error") >= 0)
88
					f.kind = 1;
89
				else
90
					f.kind = 3;
93 91
				const char *hs = ms;
94 92
				while(!IsLetter(*hs) && *hs)
95 93
					hs++;