FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: allow underscores inside named parameters · solvespace/solvespace@296eff8 · GitHub

Repository navigation

Commit 296eff8

Browse files
authored andcommitted
fix: allow underscores inside named parameters
1 parent 15c221a commit 296eff8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/expr.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ std::string ExprParser::ReadWord() {
677677
std::string s;
678678

679679
while(char c = PeekChar()) {
680-
if(!isalnum(c)) break;
680+
if(!isalnum(c) && c != '_') break;
681681
s.push_back(ReadChar());
682682
}
683683

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL