title: Why I got this strange errors when compiling assembly code using nasm?
body: <p>Test platform is Linux 32 bit. </p>
  
  <p>I use</p>
  
  <pre><code>nasm -f elf final.s
  </code></pre>
  
  <p>to assemble the code, and it generate these errors:</p>
  
  <pre><code>final.s:40454: error: (at:1) `%$strucname': context stack is empty
  final.s:40454: error: (at:1) `%$strucstart': context stack is empty
  final.s:40454: error: (at:1) `%$strucname': context stack is empty
  final.s:40454: error: (at:1) `%$strucstart': context stack is empty
  final.s:40454: error: expecting `)'
  final.s:40454: error: label or instruction expected at start of line
  </code></pre>
  
  <p>And here is part of my code:</p>
  
  <pre><code>40451
  40452 byte_4092CA     db 89h, 0FFh
  40453 off_415E82      dd $LN119
  40454 aT              db 'T',0
  </code></pre>
  
  <p>40454 is the <strong>last line</strong> of my code.</p>
  
  <p>I have not seen this kind of error and after a quick google, I can not find any useful stuff.</p>
  
  <p>Could anyone give me some help? Thank you!</p>
  
  <p>--------------update--------------</p>
  
  <p>I tried to put this line of code to other places, but same errors..., which means it is not some issues with <strong>last line</strong> </p>