Hacker News new | ask | show | jobs
by myg204 4049 days ago
Interesting. Why don't you use an include file directive there?

    enum_example_t
    {
        #include "example_values.txt"
        EXAMPLE_Max,
    } 
where example_values would have the strings 'EXAMPLE_foo,'? Just wondering.