Skip to content

Commit

Permalink
fix: allow underscores inside named parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dgramop committed Apr 17, 2024
1 parent 10eafda commit 11811c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ std::string ExprParser::ReadWord() {
std::string s;

while(char c = PeekChar()) {
if(!isalnum(c)) break;
if(!isalnum(c) && c != '_') break;
s.push_back(ReadChar());
}

Expand Down

0 comments on commit 11811c7

Please sign in to comment.