C++ is case-sensitive. The standard (short) integer is named int
. So if my application is using type Int
(starts upper-case) that must be different(?) Is INT
different again?
The application is a compiler. I'm looking at its parsing, which uses a typical yacc setup. Consider input.c
here. Line 206/207 declares the current read position, char and lookahead char. (See comment lines 186 ff.)
static Int row, column, startColumn;
static int c0, c1;
What does the upper-case Int
mean? And where do I find its typedef
? I've looked in #include "machdep.h", "char.h", "storage.h"
(all in the same github repo). But #include <ctype.h>
I can't find in the repo, nor the application's installation on my machine -- is it in the bowels of the C++ compiler?
(I can supply a lot more info about this application if you need it -- ask away in the comments. I figured better to keep the q short to start with.)
Edit/response: Thank you everybody for the quick and accurate responses in the Comments. @dratenik "having symbols that differ in letter case only is a sure-fire recipe for terrible headaches." Indeed. Headache was what it was giving me, so I'm glad I asked.