Reorder some code so we don't upset program state when there's a parsing error.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 30 Mar 2004 15:55:10 +0000 (15:55 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 30 Mar 2004 15:55:10 +0000 (15:55 +0000)
commita7f52a9ba1175174efb98a145248da331c9d4c54
tree641c5555d51e466320b7ec5adf5e519c986bab20
parent41d389909bc87d21cf7ef8639bead1b4494e3b0e
Reorder some code so we don't upset program state when there's a parsing error.
Be sure to assign program.Base.String pointer.
src/mesa/shader/arbfragparse.c
src/mesa/shader/arbprogparse.c
src/mesa/shader/arbvertparse.c