Ver código fonte

Update lexer.h

blueloveTH 2 anos atrás
pai
commit
acf0e16cbb
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      include/pocketpy/lexer.h

+ 1 - 1
include/pocketpy/lexer.h

@@ -104,7 +104,7 @@ struct Lexer {
     const char* curr_char;
     int current_line = 1;
     std::vector<Token> nexts;
-    stack<int> indents;
+    stack_no_copy<int, pod_vector<int>> indents;
     int brackets_level = 0;
     bool used = false;