Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
horitaku1124 committed Jun 13, 2018
1 parent 21f1dd4 commit eae4e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion convert.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script type="text/javascript">
<!--
const spaces = " \t", cr_lf = "\r\n";
const singleOperator = "()+-.*/=;,><?&!|[]@";
const singleOperator = "()+-.*/=;,><?&!|[]@{}";
const allClears = singleOperator + spaces + cr_lf;
function lexicalAnalyzer(source) {
let quote = null, verse = "", tokens = [], inLineComment = false, inMultiLineComment = false;
Expand Down
2 changes: 1 addition & 1 deletion js/lexicalAnalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let lexicalAnalyzer = {};

lexicalAnalyzer.run = function(source){
const spaces = " \t", cr_lf = "\r\n";
const singleOperator = "()+-.*/=;,><?&!|[]@";
const singleOperator = "()+-.*/=;,><?&!|[]@{}";
const allClears = singleOperator + spaces + cr_lf;
let quote = null, verse = "", tokens = [], inLineComment = false, inMultiLineComment = false;
for(let i = 0;i < source.length;i++) {
Expand Down

0 comments on commit eae4e6b

Please sign in to comment.