also add unit THz as requested

This commit is contained in:
donovaly
2019-12-23 02:49:30 +01:00
committed by wwmayer
parent edd97de6a2
commit a6a043a6f2
8 changed files with 322 additions and 304 deletions

View File

@@ -65,6 +65,7 @@ CGRP '\,'[0-9][0-9][0-9]
"kHz" yylval = Quantity::KiloHertz; return UNIT; // kilo Hertz
"MHz" yylval = Quantity::MegaHertz; return UNIT; // mega Hertz
"GHz" yylval = Quantity::GigaHertz; return UNIT; // giga Hertz
"THz" yylval = Quantity::TeraHertz; return UNIT; // tera Hertz
"ug" yylval = Quantity::MicroGram; return UNIT; // micro gram
"\xC2\xB5g" yylval = Quantity::MicroGram; return UNIT; // micro gram