mirror of
https://github.com/AdaCore/PolyORB.git
synced 2026-02-12 13:01:15 -08:00
(Scan_Identifier): New formal parameter Is_Directive. When scanning a directive, look up token base on image including '#' sign to allow (legal) identifiers to be identical to directive names. (Scan_Preprocessor_Directive): Change precondition. The current location upon entry must be the '#' sign (previously the next character). (Scan_Token): Do not advance scan location prior to calling Scan_Preprocessor_Directive. Fixes build failure introduced by change 41360, which was correct by itself but uncovered a latent bug in the lexer. Subversion-branch: /trunk/polyorb Subversion-revision: 41374