Ignore:
Timestamp:
Jul 3, 2020, 7:19:17 PM (4 years ago)
Author:
coas-nagasima
Message:

ASP3, TINET, mbed を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/asp3_dcre/tecsgen/tecslib/core/messages.rb

    r321 r429  
    44#      Generator for TOPPERS Embedded Component System
    55
    6 #   Copyright (C) 2008-2014 by TOPPERS Project
     6#   Copyright (C) 2008-2017 by TOPPERS Project
    77#--
    88#   上記著作権者は,以下の(1)~(4)の条件を満たす場合に限り,本ソフトウェ
     
    8989 end
    9090
     91 #=== TECSMsg#ローカライズされた情報メッセージを得る
     92 # Generator.info2 から呼び出される
     93 def self.get_info_message( body )
     94   body =~ /^[A-Z0-9]+/    # 情報番号を取り出す
     95   num = $&
     96   msg = @@info_message[ num.to_sym ]
     97   if msg == nil then
     98     m = body
     99   else
     100     m = num + " " + msg
     101   end
     102   return m
     103 end
     104
    91105end
Note: See TracChangeset for help on using the changeset viewer.