Skip to content

Commit

Permalink
🐛 K単体のエスケープシーケンスを無視するように修正 #164 (#165)
Browse files Browse the repository at this point in the history
* 数値が存在しない場合のパースも無視するように修正

* コードを自動生成

* テストコードを修正

* バージョン番号を修正
  • Loading branch information
jiro4989 authored Apr 29, 2022
1 parent a46004b commit d1e8b5e
Show file tree
Hide file tree
Showing 4 changed files with 339 additions and 332 deletions.
2 changes: 1 addition & 1 deletion internal/global/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package global

const (
AppName = "textimg"
Version = `3.1.6
Version = `3.1.7
Copyright (c) 2019 jiro4989
Released under the MIT License.
https://github.com/jiro4989/textimg`
Expand Down
2 changes: 1 addition & 1 deletion parser/grammer.peg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ root <-
(colors / ignore / text)*

ignore <-
prefix number non_color_suffix
prefix number? non_color_suffix
/ escape_sequence

colors <-
Expand Down
Loading

0 comments on commit d1e8b5e

Please sign in to comment.