Fix comments and code alignment
authorMario de Sousa <msousa@fe.up.pt>
Thu, 22 Nov 2012 18:51:42 +0000
changeset 737 f6bc5230aadd
parent 736 a591ed23c370
child 738 e47cc8c954db
Fix comments and code alignment
stage1_2/iec_flex.ll
--- a/stage1_2/iec_flex.ll	Mon Nov 19 18:59:12 2012 +0000
+++ b/stage1_2/iec_flex.ll	Thu Nov 22 18:51:42 2012 +0000
@@ -416,7 +416,7 @@
 /* we are parsing a function, program or function block declaration */
 %s decl_state
 
-/* we will be parsing a function body. Whether il/st is remains unknown */
+/* we will be parsing a function body. Whether il/st/sfc remains to be determined */
 %x body_state
 
 /* we are parsing il code -> flex must return the EOL tokens!       */
@@ -924,8 +924,7 @@
 			       * calling yyterminate() is equivalent to doing that. 
 			       */ 	
 			    yyterminate();
-			  }      
- else {
+			  } else {
 			    --include_stack_ptr;
 			    yy_delete_buffer(YY_CURRENT_BUFFER);
 			    yy_switch_to_buffer((include_stack[include_stack_ptr]).buffer_state);
@@ -1735,12 +1734,10 @@
    *   return 0;
    */
 
-  /* to we stop processing...
-   *
+  /* to stop processing...
    *   return 1;
    */
 
-
   return 1;  /* Stop scanning at end of input file. */
 }