Skip to content

Commit 559d022

Browse files
FelixPetriconimrbean-bremen
authored andcommitted
Remove __* and _Uppercase from symbols because they must not been used
1 parent 9b0a6e1 commit 559d022

File tree

7 files changed

+594
-589
lines changed

7 files changed

+594
-589
lines changed

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*.lo
44
*.o
55
*.obj
6+
*.pdb
7+
*.cbt
68

79
# Precompiled Headers
810
*.gch
@@ -43,6 +45,8 @@ ui_*.h
4345
*.jsc
4446
Makefile*
4547
*build-*
48+
*resource.rc
49+
*.FileListAbsolute.txt
4650

4751
# CMake
4852
CMakeLists.txt.user
@@ -82,6 +86,9 @@ Thumbs.db
8286
# Visual Studio Code
8387
.vscode/*
8488

89+
*.tlog
90+
91+
8592
# JetBrains tools
8693
.idea/*
8794

@@ -106,5 +113,3 @@ generator/release
106113
/.vs/
107114
*/debug/*
108115
*/release/*
109-
src/.vs
110-
lib

generator/parser/lexer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ class TokenStream
168168
inline std::size_t matchingBrace(std::size_t i) const
169169
{ return tokens[i].extra.right_brace; }
170170

171-
inline Token &operator[](int index)
172-
{ return tokens[index]; }
171+
inline Token &operator[](int i)
172+
{ return tokens[i]; }
173173

174-
inline const Token &token(int index) const
175-
{ return tokens[index]; }
174+
inline const Token &token(int i) const
175+
{ return tokens[i]; }
176176

177177
private:
178178
Token *tokens;

0 commit comments

Comments
 (0)