~cypheon/kicad2spice

80e8dbf3ce80ceef40c96a377d2cb14e54e28380 — Johann Rudloff 4 years ago 492fec0
Remove unneeded module qualifier.
2 files changed, 4 insertions(+), 4 deletions(-)

M lib/lex_lib.mll
M lib/lex_sch_legacy.mll
M lib/lex_lib.mll => lib/lex_lib.mll +1 -1
@@ 40,7 40,7 @@ and read_string buf =
      read_string buf lexbuf
    }
  | [^ '"' '\\' '\n']+
    { Buffer.add_string buf (Lexing.lexeme lexbuf);
    { Buffer.add_string buf (lexeme lexbuf);
      read_string buf lexbuf
    }
and read_comment =

M lib/lex_sch_legacy.mll => lib/lex_sch_legacy.mll +3 -3
@@ 10,7 10,7 @@ let unquoted_string = [ ^ ' ' '\t' '\n' '"' ] +
rule read =
  parse
  | "EESchema Schematic File Version" { MAGIC_HEADER }
  | int { INT (int_of_string (Lexing.lexeme lexbuf)) }
  | int { INT (int_of_string (lexeme lexbuf)) }
  | '"' { read_string (Buffer.create 17) lexbuf }
  | "LIBS:" [ ^ '\n' ] + { LIBS (lexeme lexbuf) }
  | "encoding" { ENCODING }


@@ 25,7 25,7 @@ rule read =
  | "$EndSCHEMATC" { END_SCHEMATIC }
  | '\n' { new_line lexbuf; NEWLINE }
  | ' '+ { read lexbuf }
  | unquoted_string { STRING_UNQUOTED (Lexing.lexeme lexbuf) }
  | unquoted_string { STRING_UNQUOTED (lexeme lexbuf) }
  | eof { EOF }
and read_component_line lines =
  parse


@@ 47,7 47,7 @@ and read_string buf =
      read_string buf lexbuf
    }
  | [^ '"' '\\']+
    { Buffer.add_string buf (Lexing.lexeme lexbuf);
    { Buffer.add_string buf (lexeme lexbuf);
      read_string buf lexbuf
    }
and tokenize =