|
Try to match this at the current character with the construct The token must start with a '.'.
... Try to match this at the current character with the construct ... An example of a correct 'token' argument would be ... ".EQ.", which stands for the Fortran .EQ. operator. ... If this pattern is found at the current location, the ... periods are replaced by '[' and ']', so that .EQ. gets ... changed to [EQ], and then the current character is advanced ... to after the second brace. ... Returns True if a replacement took place. ... Precondition: *ls == '.' && token[0] == '.'
... If here, the dots already match. Try from the 2rd and on.
... We have a match. Replace dots, advance index, then return.
Definition at line 19 of file parser_prepass.cc.
References buf, False, index, and True. |