jserv / amacc

Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
Other
1.01k stars 161 forks source link

Where are these keywords stored? #44

Closed splasky closed 6 years ago

splasky commented 6 years ago

https://github.com/jserv/amacc/blob/1c320c6eaedb5c7a4f60d6c72b03de910e960f62/amacc.c#L1746 Why we need to store these keywords? And where are these keywords stored? Inside sym?

jserv commented 6 years ago

Initially, p was pointed to the vector of given keyword, and then current location of source file seeks accordingly.