Sfoglia il codice sorgente

Spelling fix in sqcompiler error

This error isn't as clear as it could be, but I think this would be break, not brake.
nikolas 6 anni fa
parent
commit
31611a84ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      squirrel/sqcompiler.cpp

+ 1 - 1
squirrel/sqcompiler.cpp

@@ -635,7 +635,7 @@ public:
                 }
                 }
                 break;
                 break;
             case _SC('['):
             case _SC('['):
-                if(_lex._prevtoken == _SC('\n')) Error(_SC("cannot brake deref/or comma needed after [exp]=exp slot declaration"));
+                if(_lex._prevtoken == _SC('\n')) Error(_SC("cannot break deref/or comma needed after [exp]=exp slot declaration"));
                 Lex(); Expression(); Expect(_SC(']'));
                 Lex(); Expression(); Expect(_SC(']'));
                 pos = -1;
                 pos = -1;
                 if(_es.etype==BASE) {
                 if(_es.etype==BASE) {