Skip to content

Commit

Permalink
TAG019 2020/05/04 6th
Browse files Browse the repository at this point in the history
  Compiler
    ・includeタグでファイルが読めなかったときコンパイルがエラーで終了するように挙動を修正
    ・英文メッセージ追加(くろまさんいつもありがとうございます)
  • Loading branch information
kumatan committed May 4, 2020
1 parent 4097d75 commit 5d1eaf0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
�X�V����
TAG019 2020/05/04 6th
Compiler
�Einclude�^�O�Ńt�@�C�����ǂ߂Ȃ������Ƃ��R���p�C�����G���[�ŏI������悤�ɋ������C��
�E�p�����b�Z�[�W�lj�(����܂��񂢂‚����肪�Ƃ��������܂�)

TAG019 2020/05/04 5th
Compiler
�E���l�w��}�N���������w��}�N���������o�b�t�@���g�p���Ă��܂��Ă����o�O���C��
Expand Down
3 changes: 2 additions & 1 deletion PMDDotNETCompiler/compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ internal string ReadFileText(string mml_filename2)
if (strm == null)
{
Log.WriteLine(LogLevel.ERROR, string.Format(msg.get("E0201"), mml_filename2));
return "";
throw new FileNotFoundException(mml_filename2);
//return "";
}
string text;
using (StreamReader sr = new StreamReader(strm, Encoding.GetEncoding("Shift_JIS")))
Expand Down
2 changes: 1 addition & 1 deletion PMDDotNETConsole/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"PMDDotNETConsole": {
"commandName": "Project",
"commandLineArgs": "/v C:\\Users\\kuma\\Desktop\\pmd\\GSKID05.mml"
"commandLineArgs": "/v C:\\Users\\kuma\\Desktop\\pmd\\AIR_T06.mml"
}
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ PMD.NET
・mucom さん
・ぼうきち さん
・M.S さん
・くろま さん

・PMD / MC
・Visual Studio Community 2019
Expand Down

0 comments on commit 5d1eaf0

Please sign in to comment.