diff options
author | FormerLurker <hochgebe@gmail.com> | 2020-11-06 19:43:13 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2020-11-06 19:43:13 +0300 |
commit | 91633ba765214d1c6eece514e2dd2d0e898be8b4 (patch) | |
tree | 21ed3e43d72bc89efb0f363464ec26ee5e3ce536 /GcodeProcessorLib/gcode_parser.h | |
parent | 395c472dfc6080b0b0b2fca9f1dba6eeb46c21cf (diff) |
Implementations for #8, #9, #10, #11.
Diffstat (limited to 'GcodeProcessorLib/gcode_parser.h')
-rw-r--r-- | GcodeProcessorLib/gcode_parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GcodeProcessorLib/gcode_parser.h b/GcodeProcessorLib/gcode_parser.h index 714dfe4..27414db 100644 --- a/GcodeProcessorLib/gcode_parser.h +++ b/GcodeProcessorLib/gcode_parser.h @@ -44,7 +44,7 @@ private: std::set<std::string> text_only_functions_; std::set<std::string> parsable_commands_; // Functions - bool try_extract_double(char ** p_p_gcode, double * p_double) const; + bool try_extract_double(char ** p_p_gcode, double * p_double, unsigned char * p_precision) const; static bool try_extract_gcode_command(char ** p_p_gcode, std::string * p_command); static bool try_extract_text_parameter(char ** p_p_gcode, std::string * p_parameter); bool try_extract_parameter(char ** p_p_gcode, parsed_command_parameter * parameter) const; |