/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c: In function ‘tokenPosition’:
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c:21:27: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
21 | return yylval.identVal.position;
| ^~~~~~~~
| intVal
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c: In function ‘printToken’:
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/main.c:38:53: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
38 | fprintf(out, ", value = \"%s\"", yylval.identVal.val->string);
| ^~~~~~~~
| intVal
[3/4] Building C object CMakeFiles/spl.dir/generated-sources/phases/_01_scanner/scanner.c.o
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex: In function ‘symbolIdentVal’:
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:78:16: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
78 | * @param value The identifier that was detected. (Use newIdentifier(char* string) to construct an Identifier from yytext)
| ^~~~~~~~
| intVal
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:80:16: error: ‘YYSTYPE’ {aka ‘union YYSTYPE’} has no member named ‘identVal’; did you mean ‘intVal’?
80 | */
| ^
| intVal
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex: In function ‘yylex’:
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:143:38: warning: passing argument 2 of ‘symbolIdentVal’ makes pointer from integer without a cast [-Wint-conversion]
/home/werefox/Desktop/unistuff/cb/skeletoncopy/spl-compiler-skeleton/c/src/phases/_01_scanner/scanner.flex:77:53: note: expected ‘Identifier *’ {aka ‘struct identifier *’} but argument is of type ‘char’
77 | * @param type The token type that was detected (should always be IDENT).