From ca07b05fab038597c738a15e77be2896e8a06d2b Mon Sep 17 00:00:00 2001 From: donovaly Date: Sun, 5 Jan 2020 00:15:13 +0100 Subject: [PATCH] ExpressionParser.l: fix a typo --- src/App/ExpressionParser.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/ExpressionParser.l b/src/App/ExpressionParser.l index 1de4d72245..43a5121635 100644 --- a/src/App/ExpressionParser.l +++ b/src/App/ExpressionParser.l @@ -261,7 +261,7 @@ EXPO [eE][-+]?[0-9]+ "Ohm" COUNTCHARS; yylval.quantity.scaler = Quantity::Ohm; yylval.quantity.unitStr = yytext; return UNIT; // Ohm (kg*m^2/A^2/s^3) "kOhm" COUNTCHARS; yylval.quantity.scaler = Quantity::KiloOhm; yylval.quantity.unitStr = yytext; return UNIT; // kilo Ohm -"MOhm" COUNTCHARS; yylval.quantity.scaler = Quantity::MilliOhm; yylval.quantity.unitStr = yytext; return UNIT; // mega Ohm +"MOhm" COUNTCHARS; yylval.quantity.scaler = Quantity::MegaOhm; yylval.quantity.unitStr = yytext; return UNIT; // mega Ohm "C" COUNTCHARS; yylval.quantity.scaler = Quantity::Coulomb; yylval.quantity.unitStr = yytext; return UNIT; // Coulomb (A*s)