fork download
  1. typedef enum{
  2. VAR_TYPE_BYTE = 0,
  3. VAR_TYPE_WORD = 1,
  4. VAR_TYPE_BULK = 2,
  5. VAR_TYPE_STRING = 3,
  6. }var_type;
  7.  
  8. typedef const __near struct{
  9.  
  10. rom_string lcd_tag;
  11.  
  12. union{
  13. void* ram;
  14. word rom;
  15. byte* as_byte;
  16. word* as_word;
  17. }addr;
  18.  
  19. unsigned save_to_rom : 1;
  20. unsigned type : 2;
  21. unsigned bulk_size : 5;
  22.  
  23. }var_property;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,1): error CS1525: Unexpected symbol `typedef'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty